toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (align != null) {
buffer.writeAll(['"align":', jsonEncode(align), ','], '');
}
if (enabled != null) {
buffer.writeAll(['"enabled":', enabled, ','], '');
}
if (format != null) {
buffer.writeAll(['"format":', jsonEncode(format), ','], '');
}
if (inside != null) {
buffer.writeAll(['"inside":', inside, ','], '');
}
if (style != null) {
buffer.writeAll(['"style":', style?.toJSON(), ','], '');
}
if (verticalAlign != null) {
buffer.writeAll(['"verticalAlign":', jsonEncode(verticalAlign), ','], '');
}
}