MetricFilter.fromJson constructor

MetricFilter.fromJson(
  1. Map json_
)

Implementation

MetricFilter.fromJson(core.Map json_)
    : this(
        comparisonValue: json_.containsKey('comparisonValue')
            ? json_['comparisonValue'] as core.String
            : null,
        metricName: json_.containsKey('metricName')
            ? json_['metricName'] as core.String
            : null,
        not: json_.containsKey('not') ? json_['not'] as core.bool : null,
        operator: json_.containsKey('operator')
            ? json_['operator'] as core.String
            : null,
      );