ImageSettings.fromJson constructor
ImageSettings.fromJson(
- Map json_
Implementation
ImageSettings.fromJson(core.Map json_)
: this(
backgroundImageUrl: json_.containsKey('backgroundImageUrl')
? LocalizedProperty.fromJson(json_['backgroundImageUrl']
as core.Map<core.String, core.dynamic>)
: null,
bannerExternalUrl: json_['bannerExternalUrl'] as core.String?,
bannerImageUrl: json_['bannerImageUrl'] as core.String?,
bannerMobileExtraHdImageUrl:
json_['bannerMobileExtraHdImageUrl'] as core.String?,
bannerMobileHdImageUrl:
json_['bannerMobileHdImageUrl'] as core.String?,
bannerMobileImageUrl: json_['bannerMobileImageUrl'] as core.String?,
bannerMobileLowImageUrl:
json_['bannerMobileLowImageUrl'] as core.String?,
bannerMobileMediumHdImageUrl:
json_['bannerMobileMediumHdImageUrl'] as core.String?,
bannerTabletExtraHdImageUrl:
json_['bannerTabletExtraHdImageUrl'] as core.String?,
bannerTabletHdImageUrl:
json_['bannerTabletHdImageUrl'] as core.String?,
bannerTabletImageUrl: json_['bannerTabletImageUrl'] as core.String?,
bannerTabletLowImageUrl:
json_['bannerTabletLowImageUrl'] as core.String?,
bannerTvHighImageUrl: json_['bannerTvHighImageUrl'] as core.String?,
bannerTvImageUrl: json_['bannerTvImageUrl'] as core.String?,
bannerTvLowImageUrl: json_['bannerTvLowImageUrl'] as core.String?,
bannerTvMediumImageUrl:
json_['bannerTvMediumImageUrl'] as core.String?,
largeBrandedBannerImageImapScript:
json_.containsKey('largeBrandedBannerImageImapScript')
? LocalizedProperty.fromJson(
json_['largeBrandedBannerImageImapScript']
as core.Map<core.String, core.dynamic>)
: null,
largeBrandedBannerImageUrl: json_
.containsKey('largeBrandedBannerImageUrl')
? LocalizedProperty.fromJson(json_['largeBrandedBannerImageUrl']
as core.Map<core.String, core.dynamic>)
: null,
smallBrandedBannerImageImapScript:
json_.containsKey('smallBrandedBannerImageImapScript')
? LocalizedProperty.fromJson(
json_['smallBrandedBannerImageImapScript']
as core.Map<core.String, core.dynamic>)
: null,
smallBrandedBannerImageUrl: json_
.containsKey('smallBrandedBannerImageUrl')
? LocalizedProperty.fromJson(json_['smallBrandedBannerImageUrl']
as core.Map<core.String, core.dynamic>)
: null,
trackingImageUrl: json_['trackingImageUrl'] as core.String?,
watchIconImageUrl: json_['watchIconImageUrl'] as core.String?,
);