toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conditionAbsent != null) 'conditionAbsent': conditionAbsent!,
      if (conditionMatchedLog != null)
        'conditionMatchedLog': conditionMatchedLog!,
      if (conditionMonitoringQueryLanguage != null)
        'conditionMonitoringQueryLanguage': conditionMonitoringQueryLanguage!,
      if (conditionPrometheusQueryLanguage != null)
        'conditionPrometheusQueryLanguage': conditionPrometheusQueryLanguage!,
      if (conditionThreshold != null)
        'conditionThreshold': conditionThreshold!,
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
    };