SegmentFilterClause.fromJson constructor

SegmentFilterClause.fromJson(
  1. Map json_
)

Implementation

SegmentFilterClause.fromJson(core.Map json_)
    : this(
        dimensionFilter: json_.containsKey('dimensionFilter')
            ? SegmentDimensionFilter.fromJson(json_['dimensionFilter']
                as core.Map<core.String, core.dynamic>)
            : null,
        metricFilter: json_.containsKey('metricFilter')
            ? SegmentMetricFilter.fromJson(
                json_['metricFilter'] as core.Map<core.String, core.dynamic>)
            : null,
        not: json_.containsKey('not') ? json_['not'] as core.bool : null,
      );