toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (breakSize != null) {
buffer.writeAll(['"breakSize":', breakSize, ','], '');
}
if (from != null) {
buffer.writeAll(['"from":', jsonEncode(from), ','], '');
}
if (repeat != null) {
buffer.writeAll(['"repeat":', repeat, ','], '');
}
if (to != null) {
buffer.writeAll(['"to":', jsonEncode(to), ','], '');
}
}