toJson method
Implementation
Map<String, dynamic> toJson() => {
'index': this.elementIndex,
'rule': this.rule,
'threshold': this.threshold,
'notify': this.notify,
'alert': this.alert,
'text': this.text,
'map_settings': this.mapSettings.toJson(),
'run': this.run.toJson(),
'rounding': this.rounding.toJson()
};