toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (showDocumentFrontPreview != null)
'showDocumentFrontPreview': showDocumentFrontPreview,
if (showDocumentBackPreview != null)
'showDocumentBackPreview': showDocumentBackPreview,
if (showSelfieWithDocumentPreview != null)
'showSelfieWithDocumentPreview': showSelfieWithDocumentPreview,
};
}