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