MuxStream.fromJson constructor
MuxStream.fromJson(
- Map _json
Implementation
MuxStream.fromJson(core.Map _json)
: this(
container: _json.containsKey('container')
? _json['container'] as core.String
: null,
elementaryStreams: _json.containsKey('elementaryStreams')
? (_json['elementaryStreams'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
encryption: _json.containsKey('encryption')
? Encryption.fromJson(
_json['encryption'] as core.Map<core.String, core.dynamic>)
: null,
fileName: _json.containsKey('fileName')
? _json['fileName'] as core.String
: null,
key: _json.containsKey('key') ? _json['key'] as core.String : null,
segmentSettings: _json.containsKey('segmentSettings')
? SegmentSettings.fromJson(_json['segmentSettings']
as core.Map<core.String, core.dynamic>)
: null,
);