VideoStream.fromJson constructor
VideoStream.fromJson(
- Map json_
Implementation
VideoStream.fromJson(core.Map json_)
: this(
h264: json_.containsKey('h264')
? H264CodecSettings.fromJson(
json_['h264'] as core.Map<core.String, core.dynamic>)
: null,
h265: json_.containsKey('h265')
? H265CodecSettings.fromJson(
json_['h265'] as core.Map<core.String, core.dynamic>)
: null,
vp9: json_.containsKey('vp9')
? Vp9CodecSettings.fromJson(
json_['vp9'] as core.Map<core.String, core.dynamic>)
: null,
);