AudienceSegmentGroup.fromJson constructor

AudienceSegmentGroup.fromJson(
  1. Map json_
)

Implementation

AudienceSegmentGroup.fromJson(core.Map json_)
    : this(
        audienceSegments: json_.containsKey('audienceSegments')
            ? (json_['audienceSegments'] as core.List)
                .map((value) => AudienceSegment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );