MonitoringQueryLanguageCondition.fromJson constructor

MonitoringQueryLanguageCondition.fromJson(
  1. Map json_
)

Implementation

MonitoringQueryLanguageCondition.fromJson(core.Map json_)
    : this(
        duration: json_.containsKey('duration')
            ? json_['duration'] as core.String
            : null,
        evaluationMissingData: json_.containsKey('evaluationMissingData')
            ? json_['evaluationMissingData'] as core.String
            : null,
        query:
            json_.containsKey('query') ? json_['query'] as core.String : null,
        trigger: json_.containsKey('trigger')
            ? Trigger.fromJson(
                json_['trigger'] as core.Map<core.String, core.dynamic>)
            : null,
      );