toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (goodBadMetricFilter != null)
        'goodBadMetricFilter': goodBadMetricFilter!,
      if (goodTotalRatioThreshold != null)
        'goodTotalRatioThreshold': goodTotalRatioThreshold!,
      if (metricMeanInRange != null) 'metricMeanInRange': metricMeanInRange!,
      if (metricSumInRange != null) 'metricSumInRange': metricSumInRange!,
      if (windowPeriod != null) 'windowPeriod': windowPeriod!,
    };