toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (crop != null) {
buffer.writeAll(['"crop":', crop, ','], '');
}
if (inside != null) {
buffer.writeAll(['"inside":', inside, ','], '');
}
if (overflow != null) {
buffer.writeAll(['"overflow":', overflow, ','], '');
}
if (padding != null) {
buffer.writeAll(['"padding":', padding, ','], '');
}
if (verticalAlign != null) {
buffer.writeAll(['"verticalAlign":', jsonEncode(verticalAlign), ','], '');
}
}