SegmentMetricFilter.fromJson constructor

SegmentMetricFilter.fromJson(
  1. Map json_
)

Implementation

SegmentMetricFilter.fromJson(core.Map json_)
    : this(
        comparisonValue: json_.containsKey('comparisonValue')
            ? json_['comparisonValue'] as core.String
            : null,
        maxComparisonValue: json_.containsKey('maxComparisonValue')
            ? json_['maxComparisonValue'] as core.String
            : null,
        metricName: json_.containsKey('metricName')
            ? json_['metricName'] as core.String
            : null,
        operator: json_.containsKey('operator')
            ? json_['operator'] as core.String
            : null,
        scope:
            json_.containsKey('scope') ? json_['scope'] as core.String : null,
      );