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