VerificationState constructor

const VerificationState({
  1. required String apiKey,
  2. required String accessToken,
  3. required Function onSuccess,
  4. required BuildContext? routeContext,
  5. required String documentType,
  6. required String verificationSessionId,
  7. required bool formVisible,
  8. required String nationality,
  9. required String? frontIdImage,
  10. required String? backIdImage,
  11. required String? sideIdImage,
  12. required String step,
  13. required String? faceImage,
  14. required String faceVideo,
  15. required String faceMatchValue,
  16. required String language,
  17. required bool isVerifying,
  18. required bool isCapturing,
  19. required Map<String, dynamic> response,
  20. required Map<String, dynamic> idCard,
  21. required Option<Either<VerificationFailure, Map<String, dynamic>>> verificationFailureOrSuccess,
})

Implementation

const factory VerificationState({
  required String apiKey,
  required String accessToken,
  required Function onSuccess,
  required BuildContext? routeContext,
  required String documentType,
  required String verificationSessionId,
  required bool formVisible,
  required String nationality,
  required String? frontIdImage,
  required String? backIdImage,
  required String? sideIdImage,
  required String step,
  required String? faceImage,
  required String faceVideo,
  required String faceMatchValue,
  required String language,
  required bool isVerifying,
  required bool isCapturing,
  required Map<String, dynamic> response,
  required Map<String, dynamic> idCard,
  required Option<Either<VerificationFailure, Map<String, dynamic>>>
      verificationFailureOrSuccess,
}) = _VerificationState;