toJson method
Implementation
Map<String, dynamic> toJson() {
final av1Settings = this.av1Settings;
final avcIntraSettings = this.avcIntraSettings;
final codec = this.codec;
final frameCaptureSettings = this.frameCaptureSettings;
final h264Settings = this.h264Settings;
final h265Settings = this.h265Settings;
final mpeg2Settings = this.mpeg2Settings;
final proresSettings = this.proresSettings;
final vc3Settings = this.vc3Settings;
final vp8Settings = this.vp8Settings;
final vp9Settings = this.vp9Settings;
return {
if (av1Settings != null) 'av1Settings': av1Settings,
if (avcIntraSettings != null) 'avcIntraSettings': avcIntraSettings,
if (codec != null) 'codec': codec.toValue(),
if (frameCaptureSettings != null)
'frameCaptureSettings': frameCaptureSettings,
if (h264Settings != null) 'h264Settings': h264Settings,
if (h265Settings != null) 'h265Settings': h265Settings,
if (mpeg2Settings != null) 'mpeg2Settings': mpeg2Settings,
if (proresSettings != null) 'proresSettings': proresSettings,
if (vc3Settings != null) 'vc3Settings': vc3Settings,
if (vp8Settings != null) 'vp8Settings': vp8Settings,
if (vp9Settings != null) 'vp9Settings': vp9Settings,
};
}