DocumentUploadState constructor

DocumentUploadState({
  1. required DocumentVerificationType verificationType,
  2. File? selectedImage,
  3. bool isUploading = false,
  4. bool isWaitingForWebSocket = false,
  5. double currentProgress = 0.0,
  6. bool documentRejected = false,
  7. String? rejectionMessage,
})

Implementation

DocumentUploadState({
  required this.verificationType,
  this.selectedImage,
  this.isUploading = false,
  this.isWaitingForWebSocket = false,
  this.currentProgress = 0.0,
  this.documentRejected = false,
  this.rejectionMessage,
});