toJson method
Implementation
Map<String, Object?> toJson() {
var backgroundColor = this.backgroundColor;
var color = this.color;
final json = <String, Object?>{};
json[r'backgroundColor'] = backgroundColor;
json[r'color'] = color;
return json;
}