toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alertRule != null) 'alertRule': alertRule!,
if (duration != null) 'duration': duration!,
if (evaluationInterval != null)
'evaluationInterval': evaluationInterval!,
if (labels != null) 'labels': labels!,
if (query != null) 'query': query!,
if (ruleGroup != null) 'ruleGroup': ruleGroup!,
};