OutputSettings.fromJson constructor
OutputSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory OutputSettings.fromJson(Map<String, dynamic> json) {
return OutputSettings(
archiveOutputSettings: json['archiveOutputSettings'] != null
? ArchiveOutputSettings.fromJson(
json['archiveOutputSettings'] as Map<String, dynamic>)
: null,
frameCaptureOutputSettings: json['frameCaptureOutputSettings'] != null
? FrameCaptureOutputSettings.fromJson(
json['frameCaptureOutputSettings'] as Map<String, dynamic>)
: null,
hlsOutputSettings: json['hlsOutputSettings'] != null
? HlsOutputSettings.fromJson(
json['hlsOutputSettings'] as Map<String, dynamic>)
: null,
mediaPackageOutputSettings: json['mediaPackageOutputSettings'] != null
? MediaPackageOutputSettings.fromJson(
json['mediaPackageOutputSettings'] as Map<String, dynamic>)
: null,
msSmoothOutputSettings: json['msSmoothOutputSettings'] != null
? MsSmoothOutputSettings.fromJson(
json['msSmoothOutputSettings'] as Map<String, dynamic>)
: null,
multiplexOutputSettings: json['multiplexOutputSettings'] != null
? MultiplexOutputSettings.fromJson(
json['multiplexOutputSettings'] as Map<String, dynamic>)
: null,
rtmpOutputSettings: json['rtmpOutputSettings'] != null
? RtmpOutputSettings.fromJson(
json['rtmpOutputSettings'] as Map<String, dynamic>)
: null,
udpOutputSettings: json['udpOutputSettings'] != null
? UdpOutputSettings.fromJson(
json['udpOutputSettings'] as Map<String, dynamic>)
: null,
);
}