IDFlowPreviewConfig.fromJson constructor

IDFlowPreviewConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory IDFlowPreviewConfig.fromJson(Map<String, dynamic> json) {
  return IDFlowPreviewConfig(
    showDocumentFrontPreview: json['showDocumentFrontPreview'],
    showDocumentBackPreview: json['showDocumentBackPreview'],
    showSelfieWithDocumentPreview: json['showSelfieWithDocumentPreview'],
  );
}