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