VideoSettings.fromJson constructor
VideoSettings.fromJson(
- Map json_
Implementation
VideoSettings.fromJson(core.Map json_)
: this(
companionSettings: json_.containsKey('companionSettings')
? CompanionSetting.fromJson(json_['companionSettings']
as core.Map<core.String, core.dynamic>)
: null,
durationSeconds: json_.containsKey('durationSeconds')
? json_['durationSeconds'] as core.int
: 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')
? SkippableSetting.fromJson(json_['skippableSettings']
as core.Map<core.String, core.dynamic>)
: null,
transcodeSettings: json_.containsKey('transcodeSettings')
? TranscodeSetting.fromJson(json_['transcodeSettings']
as core.Map<core.String, core.dynamic>)
: null,
);