toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (crossingDown != null) {
buffer.writeAll(['"crossingDown":', crossingDown, ','], '');
}
if (crossingUp != null) {
buffer.writeAll(['"crossingUp":', crossingUp, ','], '');
}
if (max != null) {
buffer.writeAll(['"max":', max, ','], '');
}
if (min != null) {
buffer.writeAll(['"min":', min, ','], '');
}
if (prop != null) {
buffer.writeAll(['"prop":', jsonEncode(prop), ','], '');
}
}