toJson method
Implementation
Map<String, dynamic> toJson() {
final archiveOutputSettings = this.archiveOutputSettings;
final frameCaptureOutputSettings = this.frameCaptureOutputSettings;
final hlsOutputSettings = this.hlsOutputSettings;
final mediaPackageOutputSettings = this.mediaPackageOutputSettings;
final msSmoothOutputSettings = this.msSmoothOutputSettings;
final multiplexOutputSettings = this.multiplexOutputSettings;
final rtmpOutputSettings = this.rtmpOutputSettings;
final udpOutputSettings = this.udpOutputSettings;
return {
if (archiveOutputSettings != null)
'archiveOutputSettings': archiveOutputSettings,
if (frameCaptureOutputSettings != null)
'frameCaptureOutputSettings': frameCaptureOutputSettings,
if (hlsOutputSettings != null) 'hlsOutputSettings': hlsOutputSettings,
if (mediaPackageOutputSettings != null)
'mediaPackageOutputSettings': mediaPackageOutputSettings,
if (msSmoothOutputSettings != null)
'msSmoothOutputSettings': msSmoothOutputSettings,
if (multiplexOutputSettings != null)
'multiplexOutputSettings': multiplexOutputSettings,
if (rtmpOutputSettings != null) 'rtmpOutputSettings': rtmpOutputSettings,
if (udpOutputSettings != null) 'udpOutputSettings': udpOutputSettings,
};
}