toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (allowForce != null) {
buffer.writeAll(['"allowForce":', allowForce, ','], '');
}
if (debug != null) {
buffer.writeAll(['"debug":', debug?.toJSON(), ','], '');
}
if (enabled != null) {
buffer.writeAll(['"enabled":', enabled, ','], '');
}
if (pixelRatio != null) {
buffer.writeAll(['"pixelRatio":', pixelRatio, ','], '');
}
if (seriesThreshold != null) {
buffer.writeAll(['"seriesThreshold":', seriesThreshold, ','], '');
}
if (useGPUTranslations != null) {
buffer.writeAll(['"useGPUTranslations":', useGPUTranslations, ','], '');
}
if (usePreallocated != null) {
buffer.writeAll(['"usePreallocated":', usePreallocated, ','], '');
}
}