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