SegmentDefinition.fromJson constructor

SegmentDefinition.fromJson(
  1. Map json_
)

Implementation

SegmentDefinition.fromJson(core.Map json_)
    : this(
        segmentFilters: json_.containsKey('segmentFilters')
            ? (json_['segmentFilters'] as core.List)
                .map((value) => SegmentFilter.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );