toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['borderColor'] = borderColor;
data['borderRadius'] = borderRadius;
if (boxShadow != null) {
data['boxShadow'] = boxShadow!.toJson();
}
return data;
}