toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
if (_border != null) {
map['border'] = _border?.toJson();
}
map['borderRadius'] = _borderRadius;
map['fontSize'] = _fontSize;
map['fontWeight'] = _fontWeight;
map['color'] = _color;
map['colorOpacity'] = _colorOpacity;
return map;
}