toJson method

Map<String, dynamic> toJson()

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!,
    };