FloodlightActivity.fromJson constructor

FloodlightActivity.fromJson(
  1. Map json_
)

Implementation

FloodlightActivity.fromJson(core.Map json_)
    : this(
        advertiserIds: json_.containsKey('advertiserIds')
            ? (json_['advertiserIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        floodlightActivityId: json_.containsKey('floodlightActivityId')
            ? json_['floodlightActivityId'] as core.String
            : null,
        floodlightGroupId: json_.containsKey('floodlightGroupId')
            ? json_['floodlightGroupId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        remarketingConfigs: json_.containsKey('remarketingConfigs')
            ? (json_['remarketingConfigs'] as core.List)
                .map((value) => RemarketingConfig.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        servingStatus: json_.containsKey('servingStatus')
            ? json_['servingStatus'] as core.String
            : null,
        sslRequired: json_.containsKey('sslRequired')
            ? json_['sslRequired'] as core.bool
            : null,
      );