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