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