toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (comparisonValue != null) 'comparisonValue': comparisonValue!,
if (maxComparisonValue != null)
'maxComparisonValue': maxComparisonValue!,
if (metricName != null) 'metricName': metricName!,
if (operator != null) 'operator': operator!,
if (scope != null) 'scope': scope!,
};