toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (camera != null) 'camera': camera!.toJson(),
if (cameraQuality != null) 'camera_quality': cameraQuality!.toJson(),
if (allowManualUpload != null) 'allow_manual_upload': allowManualUpload,
if (multipage != null) 'multipage': multipage,
if (autocapture != null) 'autocapture': autocapture,
if (title != null) 'title': title,
if (text != null) 'text': text,
};
}