ReportingRule.fromJson constructor

ReportingRule.fromJson(
  1. Map _json
)

Implementation

ReportingRule.fromJson(core.Map _json)
    : this(
        alertDetails: _json.containsKey('alertDetails')
            ? _json['alertDetails'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        query:
            _json.containsKey('query') ? _json['query'] as core.String : null,
      );