AudienceSegment.fromJson constructor

AudienceSegment.fromJson(
  1. Map json_
)

Implementation

AudienceSegment.fromJson(core.Map json_)
    : this(
        allocation: json_.containsKey('allocation')
            ? json_['allocation'] as core.int
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );