SiteVideoSettings.fromJson constructor
SiteVideoSettings.fromJson(
- Map json_
Implementation
SiteVideoSettings.fromJson(core.Map json_)
: this(
companionSettings: json_.containsKey('companionSettings')
? SiteCompanionSetting.fromJson(json_['companionSettings']
as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
obaEnabled: json_.containsKey('obaEnabled')
? json_['obaEnabled'] as core.bool
: null,
obaSettings: json_.containsKey('obaSettings')
? ObaIcon.fromJson(
json_['obaSettings'] as core.Map<core.String, core.dynamic>)
: null,
orientation: json_.containsKey('orientation')
? json_['orientation'] as core.String
: null,
publisherSpecificationId:
json_.containsKey('publisherSpecificationId')
? json_['publisherSpecificationId'] as core.String
: null,
skippableSettings: json_.containsKey('skippableSettings')
? SiteSkippableSetting.fromJson(json_['skippableSettings']
as core.Map<core.String, core.dynamic>)
: null,
transcodeSettings: json_.containsKey('transcodeSettings')
? SiteTranscodeSetting.fromJson(json_['transcodeSettings']
as core.Map<core.String, core.dynamic>)
: null,
);