toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountPermissionIds != null)
        'accountPermissionIds': accountPermissionIds!,
      if (accountProfile != null) 'accountProfile': accountProfile!,
      if (active != null) 'active': active!,
      if (activeAdsLimitTier != null)
        'activeAdsLimitTier': activeAdsLimitTier!,
      if (activeViewOptOut != null) 'activeViewOptOut': activeViewOptOut!,
      if (availablePermissionIds != null)
        'availablePermissionIds': availablePermissionIds!,
      if (countryId != null) 'countryId': countryId!,
      if (currencyId != null) 'currencyId': currencyId!,
      if (defaultCreativeSizeId != null)
        'defaultCreativeSizeId': defaultCreativeSizeId!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (locale != null) 'locale': locale!,
      if (maximumImageSize != null) 'maximumImageSize': maximumImageSize!,
      if (name != null) 'name': name!,
      if (nielsenOcrEnabled != null) 'nielsenOcrEnabled': nielsenOcrEnabled!,
      if (reportsConfiguration != null)
        'reportsConfiguration': reportsConfiguration!,
      if (shareReportsWithTwitter != null)
        'shareReportsWithTwitter': shareReportsWithTwitter!,
      if (teaserSizeLimit != null) 'teaserSizeLimit': teaserSizeLimit!,
    };