toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backgroundImageUrl != null)
        'backgroundImageUrl': backgroundImageUrl!,
      if (bannerExternalUrl != null) 'bannerExternalUrl': bannerExternalUrl!,
      if (bannerImageUrl != null) 'bannerImageUrl': bannerImageUrl!,
      if (bannerMobileExtraHdImageUrl != null)
        'bannerMobileExtraHdImageUrl': bannerMobileExtraHdImageUrl!,
      if (bannerMobileHdImageUrl != null)
        'bannerMobileHdImageUrl': bannerMobileHdImageUrl!,
      if (bannerMobileImageUrl != null)
        'bannerMobileImageUrl': bannerMobileImageUrl!,
      if (bannerMobileLowImageUrl != null)
        'bannerMobileLowImageUrl': bannerMobileLowImageUrl!,
      if (bannerMobileMediumHdImageUrl != null)
        'bannerMobileMediumHdImageUrl': bannerMobileMediumHdImageUrl!,
      if (bannerTabletExtraHdImageUrl != null)
        'bannerTabletExtraHdImageUrl': bannerTabletExtraHdImageUrl!,
      if (bannerTabletHdImageUrl != null)
        'bannerTabletHdImageUrl': bannerTabletHdImageUrl!,
      if (bannerTabletImageUrl != null)
        'bannerTabletImageUrl': bannerTabletImageUrl!,
      if (bannerTabletLowImageUrl != null)
        'bannerTabletLowImageUrl': bannerTabletLowImageUrl!,
      if (bannerTvHighImageUrl != null)
        'bannerTvHighImageUrl': bannerTvHighImageUrl!,
      if (bannerTvImageUrl != null) 'bannerTvImageUrl': bannerTvImageUrl!,
      if (bannerTvLowImageUrl != null)
        'bannerTvLowImageUrl': bannerTvLowImageUrl!,
      if (bannerTvMediumImageUrl != null)
        'bannerTvMediumImageUrl': bannerTvMediumImageUrl!,
      if (largeBrandedBannerImageImapScript != null)
        'largeBrandedBannerImageImapScript':
            largeBrandedBannerImageImapScript!,
      if (largeBrandedBannerImageUrl != null)
        'largeBrandedBannerImageUrl': largeBrandedBannerImageUrl!,
      if (smallBrandedBannerImageImapScript != null)
        'smallBrandedBannerImageImapScript':
            smallBrandedBannerImageImapScript!,
      if (smallBrandedBannerImageUrl != null)
        'smallBrandedBannerImageUrl': smallBrandedBannerImageUrl!,
      if (trackingImageUrl != null) 'trackingImageUrl': trackingImageUrl!,
      if (watchIconImageUrl != null) 'watchIconImageUrl': watchIconImageUrl!,
    };