toJson method
Implementation
@override
Map<String, dynamic> toJson() {
final Map<String, dynamic> json = <String, dynamic>{};
if (cursor != null) {
json['cursor'] = cursor;
}
if (fill != null) {
json['fill'] = fill;
}
if (stroke != null) {
json['stroke'] = stroke;
}
return json;
}