SegmentDimensionFilter.fromJson constructor

SegmentDimensionFilter.fromJson(
  1. Map json_
)

Implementation

SegmentDimensionFilter.fromJson(core.Map json_)
    : this(
        caseSensitive: json_.containsKey('caseSensitive')
            ? json_['caseSensitive'] as core.bool
            : null,
        dimensionName: json_.containsKey('dimensionName')
            ? json_['dimensionName'] as core.String
            : null,
        expressions: json_.containsKey('expressions')
            ? (json_['expressions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        maxComparisonValue: json_.containsKey('maxComparisonValue')
            ? json_['maxComparisonValue'] as core.String
            : null,
        minComparisonValue: json_.containsKey('minComparisonValue')
            ? json_['minComparisonValue'] as core.String
            : null,
        operator: json_.containsKey('operator')
            ? json_['operator'] as core.String
            : null,
      );