toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (lineWidthPlus != null) {
buffer.writeAll(['"lineWidthPlus":', lineWidthPlus, ','], '');
}
if (animation != null) {
buffer.writeAll(['"animation":', animation?.toJSON(), ','], '');
}
if (enabled != null) {
buffer.writeAll(['"enabled":', enabled, ','], '');
}
if (halo != null) {
buffer.writeAll(['"halo":', halo?.toJSON(), ','], '');
}
if (lineWidth != null) {
buffer.writeAll(['"lineWidth":', lineWidth, ','], '');
}
if (marker != null) {
buffer.writeAll(['"marker":', marker?.toJSON(), ','], '');
}
}