toJson method
Implementation
Map<String, dynamic> toJson() {
final frameCaptureSettings = this.frameCaptureSettings;
final h264Settings = this.h264Settings;
final h265Settings = this.h265Settings;
final mpeg2Settings = this.mpeg2Settings;
return {
if (frameCaptureSettings != null)
'frameCaptureSettings': frameCaptureSettings,
if (h264Settings != null) 'h264Settings': h264Settings,
if (h265Settings != null) 'h265Settings': h265Settings,
if (mpeg2Settings != null) 'mpeg2Settings': mpeg2Settings,
};
}