JobConfig.fromJson constructor
JobConfig.fromJson(
- Map json_
Implementation
JobConfig.fromJson(core.Map json_)
: this(
adBreaks: json_.containsKey('adBreaks')
? (json_['adBreaks'] as core.List)
.map((value) => AdBreak.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
editList: json_.containsKey('editList')
? (json_['editList'] as core.List)
.map((value) => EditAtom.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
elementaryStreams: json_.containsKey('elementaryStreams')
? (json_['elementaryStreams'] as core.List)
.map((value) => ElementaryStream.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
encryptions: json_.containsKey('encryptions')
? (json_['encryptions'] as core.List)
.map((value) => Encryption.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
inputs: json_.containsKey('inputs')
? (json_['inputs'] as core.List)
.map((value) => Input.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
manifests: json_.containsKey('manifests')
? (json_['manifests'] as core.List)
.map((value) => Manifest.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
muxStreams: json_.containsKey('muxStreams')
? (json_['muxStreams'] as core.List)
.map((value) => MuxStream.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
output: json_.containsKey('output')
? Output.fromJson(
json_['output'] as core.Map<core.String, core.dynamic>)
: null,
overlays: json_.containsKey('overlays')
? (json_['overlays'] as core.List)
.map((value) => Overlay.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
pubsubDestination: json_.containsKey('pubsubDestination')
? PubsubDestination.fromJson(json_['pubsubDestination']
as core.Map<core.String, core.dynamic>)
: null,
spriteSheets: json_.containsKey('spriteSheets')
? (json_['spriteSheets'] as core.List)
.map((value) => SpriteSheet.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);