TargetableRemarketingList.fromJson constructor

TargetableRemarketingList.fromJson(
  1. Map json_
)

Implementation

TargetableRemarketingList.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        active:
            json_.containsKey('active') ? json_['active'] as core.bool : null,
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        advertiserIdDimensionValue:
            json_.containsKey('advertiserIdDimensionValue')
                ? DimensionValue.fromJson(json_['advertiserIdDimensionValue']
                    as core.Map<core.String, core.dynamic>)
                : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        lifeSpan: json_.containsKey('lifeSpan')
            ? json_['lifeSpan'] as core.String
            : null,
        listSize: json_.containsKey('listSize')
            ? json_['listSize'] as core.String
            : null,
        listSource: json_.containsKey('listSource')
            ? json_['listSource'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        subaccountId: json_.containsKey('subaccountId')
            ? json_['subaccountId'] as core.String
            : null,
      );