$CmHybridConfig.fromJson constructor

$CmHybridConfig.fromJson(
  1. Map json_
)

Implementation

$CmHybridConfig.fromJson(core.Map json_)
    : this(
        cmAccountId: json_.containsKey('cmAccountId')
            ? json_['cmAccountId'] as core.String
            : null,
        cmAdvertiserIds: json_.containsKey('cmAdvertiserIds')
            ? (json_['cmAdvertiserIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        cmFloodlightConfigId: json_.containsKey('cmFloodlightConfigId')
            ? json_['cmFloodlightConfigId'] as core.String
            : null,
        cmFloodlightLinkingAuthorized:
            json_.containsKey('cmFloodlightLinkingAuthorized')
                ? json_['cmFloodlightLinkingAuthorized'] as core.bool
                : null,
        cmSyncableSiteIds: json_.containsKey('cmSyncableSiteIds')
            ? (json_['cmSyncableSiteIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        dv360ToCmCostReportingEnabled:
            json_.containsKey('dv360ToCmCostReportingEnabled')
                ? json_['dv360ToCmCostReportingEnabled'] as core.bool
                : null,
        dv360ToCmDataSharingEnabled:
            json_.containsKey('dv360ToCmDataSharingEnabled')
                ? json_['dv360ToCmDataSharingEnabled'] as core.bool
                : null,
      );