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