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