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