toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (fill != null) {
buffer.writeAll(['"fill":', jsonEncode(fill), ','], '');
}
if (style != null) {
buffer.writeAll(['"style":', style?.toJSON(), ','], '');
}
}