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