toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (color != null) {
buffer.writeAll(['"color":', jsonEncode(color), ','], '');
}
if (cursor != null) {
buffer.writeAll(['"cursor":', jsonEncode(cursor), ','], '');
}
if (fontSize != null) {
buffer.writeAll(['"fontSize":', jsonEncode(fontSize), ','], '');
}
}