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