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