toJson method
Implementation
Map<String, dynamic> toJson() {
final archiveGroupSettings = this.archiveGroupSettings;
final frameCaptureGroupSettings = this.frameCaptureGroupSettings;
final hlsGroupSettings = this.hlsGroupSettings;
final mediaPackageGroupSettings = this.mediaPackageGroupSettings;
final msSmoothGroupSettings = this.msSmoothGroupSettings;
final multiplexGroupSettings = this.multiplexGroupSettings;
final rtmpGroupSettings = this.rtmpGroupSettings;
final udpGroupSettings = this.udpGroupSettings;
return {
if (archiveGroupSettings != null)
'archiveGroupSettings': archiveGroupSettings,
if (frameCaptureGroupSettings != null)
'frameCaptureGroupSettings': frameCaptureGroupSettings,
if (hlsGroupSettings != null) 'hlsGroupSettings': hlsGroupSettings,
if (mediaPackageGroupSettings != null)
'mediaPackageGroupSettings': mediaPackageGroupSettings,
if (msSmoothGroupSettings != null)
'msSmoothGroupSettings': msSmoothGroupSettings,
if (multiplexGroupSettings != null)
'multiplexGroupSettings': multiplexGroupSettings,
if (rtmpGroupSettings != null) 'rtmpGroupSettings': rtmpGroupSettings,
if (udpGroupSettings != null) 'udpGroupSettings': udpGroupSettings,
};
}