toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (active != null) 'active': active!,
      if (adParameters != null) 'adParameters': adParameters!,
      if (adTagKeys != null) 'adTagKeys': adTagKeys!,
      if (additionalSizes != null) 'additionalSizes': additionalSizes!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (allowScriptAccess != null) 'allowScriptAccess': allowScriptAccess!,
      if (archived != null) 'archived': archived!,
      if (artworkType != null) 'artworkType': artworkType!,
      if (authoringSource != null) 'authoringSource': authoringSource!,
      if (authoringTool != null) 'authoringTool': authoringTool!,
      if (autoAdvanceImages != null) 'autoAdvanceImages': autoAdvanceImages!,
      if (backgroundColor != null) 'backgroundColor': backgroundColor!,
      if (backupImageClickThroughUrl != null)
        'backupImageClickThroughUrl': backupImageClickThroughUrl!,
      if (backupImageFeatures != null)
        'backupImageFeatures': backupImageFeatures!,
      if (backupImageReportingLabel != null)
        'backupImageReportingLabel': backupImageReportingLabel!,
      if (backupImageTargetWindow != null)
        'backupImageTargetWindow': backupImageTargetWindow!,
      if (clickTags != null) 'clickTags': clickTags!,
      if (commercialId != null) 'commercialId': commercialId!,
      if (companionCreatives != null)
        'companionCreatives': companionCreatives!,
      if (compatibility != null) 'compatibility': compatibility!,
      if (convertFlashToHtml5 != null)
        'convertFlashToHtml5': convertFlashToHtml5!,
      if (counterCustomEvents != null)
        'counterCustomEvents': counterCustomEvents!,
      if (creativeAssetSelection != null)
        'creativeAssetSelection': creativeAssetSelection!,
      if (creativeAssets != null) 'creativeAssets': creativeAssets!,
      if (creativeFieldAssignments != null)
        'creativeFieldAssignments': creativeFieldAssignments!,
      if (customKeyValues != null) 'customKeyValues': customKeyValues!,
      if (dynamicAssetSelection != null)
        'dynamicAssetSelection': dynamicAssetSelection!,
      if (exitCustomEvents != null) 'exitCustomEvents': exitCustomEvents!,
      if (fsCommand != null) 'fsCommand': fsCommand!,
      if (htmlCode != null) 'htmlCode': htmlCode!,
      if (htmlCodeLocked != null) 'htmlCodeLocked': htmlCodeLocked!,
      if (id != null) 'id': id!,
      if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
      if (kind != null) 'kind': kind!,
      if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
      if (latestTraffickedCreativeId != null)
        'latestTraffickedCreativeId': latestTraffickedCreativeId!,
      if (mediaDescription != null) 'mediaDescription': mediaDescription!,
      if (mediaDuration != null) 'mediaDuration': mediaDuration!,
      if (name != null) 'name': name!,
      if (obaIcon != null) 'obaIcon': obaIcon!,
      if (overrideCss != null) 'overrideCss': overrideCss!,
      if (progressOffset != null) 'progressOffset': progressOffset!,
      if (redirectUrl != null) 'redirectUrl': redirectUrl!,
      if (renderingId != null) 'renderingId': renderingId!,
      if (renderingIdDimensionValue != null)
        'renderingIdDimensionValue': renderingIdDimensionValue!,
      if (requiredFlashPluginVersion != null)
        'requiredFlashPluginVersion': requiredFlashPluginVersion!,
      if (requiredFlashVersion != null)
        'requiredFlashVersion': requiredFlashVersion!,
      if (size != null) 'size': size!,
      if (skipOffset != null) 'skipOffset': skipOffset!,
      if (skippable != null) 'skippable': skippable!,
      if (sslCompliant != null) 'sslCompliant': sslCompliant!,
      if (sslOverride != null) 'sslOverride': sslOverride!,
      if (studioAdvertiserId != null)
        'studioAdvertiserId': studioAdvertiserId!,
      if (studioCreativeId != null) 'studioCreativeId': studioCreativeId!,
      if (studioTraffickedCreativeId != null)
        'studioTraffickedCreativeId': studioTraffickedCreativeId!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (thirdPartyBackupImageImpressionsUrl != null)
        'thirdPartyBackupImageImpressionsUrl':
            thirdPartyBackupImageImpressionsUrl!,
      if (thirdPartyRichMediaImpressionsUrl != null)
        'thirdPartyRichMediaImpressionsUrl':
            thirdPartyRichMediaImpressionsUrl!,
      if (thirdPartyUrls != null) 'thirdPartyUrls': thirdPartyUrls!,
      if (timerCustomEvents != null) 'timerCustomEvents': timerCustomEvents!,
      if (totalFileSize != null) 'totalFileSize': totalFileSize!,
      if (type != null) 'type': type!,
      if (universalAdId != null) 'universalAdId': universalAdId!,
      if (version != null) 'version': version!,
    };