toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregations != null) 'aggregations': aggregations!,
      if (comparison != null) 'comparison': comparison!,
      if (denominatorAggregations != null)
        'denominatorAggregations': denominatorAggregations!,
      if (denominatorFilter != null) 'denominatorFilter': denominatorFilter!,
      if (duration != null) 'duration': duration!,
      if (evaluationMissingData != null)
        'evaluationMissingData': evaluationMissingData!,
      if (filter != null) 'filter': filter!,
      if (forecastOptions != null) 'forecastOptions': forecastOptions!,
      if (thresholdValue != null) 'thresholdValue': thresholdValue!,
      if (trigger != null) 'trigger': trigger!,
    };