toOptionsJSON method
Implementation
@override
void toOptionsJSON(StringBuffer buffer) {
super.toOptionsJSON(buffer);
if (closePopup != null) {
buffer.writeAll(['"closePopup":', jsonEncode(closePopup), ','], '');
}
if (deselectButton != null) {
buffer
.writeAll(['"deselectButton":', jsonEncode(deselectButton), ','], '');
}
if (selectButton != null) {
buffer.writeAll(['"selectButton":', jsonEncode(selectButton), ','], '');
}
if (showPopup != null) {
buffer.writeAll(['"showPopup":', jsonEncode(showPopup), ','], '');
}
}