VerificationStateNotifier class

Inheritance

Constructors

VerificationStateNotifier.new(Ref<Object?> _ref)

Properties

debugState VerificationState
A development-only way to access state outside of StateNotifier.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
If a listener has been added using addListener and hasn't been removed yet.
no setterinherited
mounted bool
Whether dispose was called or not.
no setterinherited
onError ↔ ErrorListener?
A callback for error reporting if one of the listeners added with addListener throws.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state VerificationState
The current "state" of this StateNotifier.
getter/setter pairinherited
stream Stream<VerificationState>
A broadcast stream representation of a StateNotifier.
no setterinherited

Methods

addListener(Listener<VerificationState> listener, {bool fireImmediately = true}) → RemoveListener
Subscribes to this object.
inherited
advanceToNextStep() → void
allowNavigation() → void
cancelVerification() → void
checkNextStep() Future<void>
clearError() → void
completeFlow() → void
determineNextStep(PreflightResponse response) VerificationStep
dispose() → void
Frees all the resources associated with this object.
inherited
establishSession({required String apiKey, required String kycLevel, String? firstName, String? lastName, String? uniqueId, String? phoneNumber, String? email, String? i18n}) Future<void>
handleApiNavigation(PreflightResponse response) → void
handleExtraData(ExtraData extraData, BuildContext context) → void
initialize({required bool showCompletionView, required VoidCallback completion, VoidCallback? onCompleted, VoidCallback? onCancelled, dynamic onError(String)?, Branding? branding, required BuildContext context}) → void
initializeAndEstablishSession({required String apiKey, required String kycLevel, String? firstName, String? lastName, String? uniqueId, String? phoneNumber, String? email, String? i18n, required bool showCompletionView, required VoidCallback completion, VoidCallback? onCompleted, VoidCallback? onCancelled, dynamic onError(String)?, required BuildContext context}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportError(String message) → void
retryDocumentCapture() → void
showErrorMessage(String message) → void
toString() String
A string representation of this object.
inherited
updateShouldNotify(VerificationState old, VerificationState current) bool
Whether to notify listeners or not when state changes
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited