FloodlightActivity.fromJson constructor

FloodlightActivity.fromJson(
  1. Map json_
)

Implementation

FloodlightActivity.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : 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,
        attributionEnabled: json_.containsKey('attributionEnabled')
            ? json_['attributionEnabled'] as core.bool
            : null,
        cacheBustingType: json_.containsKey('cacheBustingType')
            ? json_['cacheBustingType'] as core.String
            : null,
        countingMethod: json_.containsKey('countingMethod')
            ? json_['countingMethod'] as core.String
            : null,
        defaultTags: json_.containsKey('defaultTags')
            ? (json_['defaultTags'] as core.List)
                .map((value) => FloodlightActivityDynamicTag.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        expectedUrl: json_.containsKey('expectedUrl')
            ? json_['expectedUrl'] as core.String
            : null,
        floodlightActivityGroupId:
            json_.containsKey('floodlightActivityGroupId')
                ? json_['floodlightActivityGroupId'] as core.String
                : null,
        floodlightActivityGroupName:
            json_.containsKey('floodlightActivityGroupName')
                ? json_['floodlightActivityGroupName'] as core.String
                : null,
        floodlightActivityGroupTagString:
            json_.containsKey('floodlightActivityGroupTagString')
                ? json_['floodlightActivityGroupTagString'] as core.String
                : null,
        floodlightActivityGroupType:
            json_.containsKey('floodlightActivityGroupType')
                ? json_['floodlightActivityGroupType'] as core.String
                : null,
        floodlightConfigurationId:
            json_.containsKey('floodlightConfigurationId')
                ? json_['floodlightConfigurationId'] as core.String
                : null,
        floodlightConfigurationIdDimensionValue:
            json_.containsKey('floodlightConfigurationIdDimensionValue')
                ? DimensionValue.fromJson(
                    json_['floodlightConfigurationIdDimensionValue']
                        as core.Map<core.String, core.dynamic>)
                : null,
        floodlightTagType: json_.containsKey('floodlightTagType')
            ? json_['floodlightTagType'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        idDimensionValue: json_.containsKey('idDimensionValue')
            ? DimensionValue.fromJson(json_['idDimensionValue']
                as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        notes:
            json_.containsKey('notes') ? json_['notes'] as core.String : null,
        publisherTags: json_.containsKey('publisherTags')
            ? (json_['publisherTags'] as core.List)
                .map((value) =>
                    FloodlightActivityPublisherDynamicTag.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        secure:
            json_.containsKey('secure') ? json_['secure'] as core.bool : null,
        sslCompliant: json_.containsKey('sslCompliant')
            ? json_['sslCompliant'] as core.bool
            : null,
        sslRequired: json_.containsKey('sslRequired')
            ? json_['sslRequired'] as core.bool
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        subaccountId: json_.containsKey('subaccountId')
            ? json_['subaccountId'] as core.String
            : null,
        tagFormat: json_.containsKey('tagFormat')
            ? json_['tagFormat'] as core.String
            : null,
        tagString: json_.containsKey('tagString')
            ? json_['tagString'] as core.String
            : null,
        userDefinedVariableTypes:
            json_.containsKey('userDefinedVariableTypes')
                ? (json_['userDefinedVariableTypes'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );