toJson method Null safety
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['sm'] = _sm;
data['md'] = _md;
data['lg'] = _lg;
data['xl'] = _xl;
return data;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['sm'] = _sm;
data['md'] = _md;
data['lg'] = _lg;
data['xl'] = _xl;
return data;
}