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