toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (back != null) {
buffer.writeAll(['"back":', back?.toJSON(), ','], '');
}
if (bottom != null) {
buffer.writeAll(['"bottom":', bottom?.toJSON(), ','], '');
}
if (front != null) {
buffer.writeAll(['"front":', front?.toJSON(), ','], '');
}
if (left != null) {
buffer.writeAll(['"left":', left?.toJSON(), ','], '');
}
if (right != null) {
buffer.writeAll(['"right":', right?.toJSON(), ','], '');
}
if (side != null) {
buffer.writeAll(['"side":', side?.toJSON(), ','], '');
}
if (size != null) {
buffer.writeAll(['"size":', size, ','], '');
}
if (top != null) {
buffer.writeAll(['"top":', top?.toJSON(), ','], '');
}
if (visible != null) {
buffer.writeAll(['"visible":', jsonEncode(visible), ','], '');
}
}