toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (flagCirclepin != null) {
buffer.writeAll(['"flagCirclepin":', flagCirclepin?.toJSON(), ','], '');
}
if (flagDiamondpin != null) {
buffer.writeAll(['"flagDiamondpin":', flagDiamondpin?.toJSON(), ','], '');
}
if (flagSimplepin != null) {
buffer.writeAll(['"flagSimplepin":', flagSimplepin?.toJSON(), ','], '');
}
if (flagSquarepin != null) {
buffer.writeAll(['"flagSquarepin":', flagSquarepin?.toJSON(), ','], '');
}
if (items != null) {
buffer.writeAll(['"items":', jsonEncode(items), ','], '');
}
}