toJson method

Map<String, dynamic> toJson()

Implementation

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