AuthFlowController class

Annotations
  • @riverpod

Constructors

AuthFlowController()

Properties

authService → VoAuthService
no setterinherited
countryCode → String?
no setter
email → String?
no setter
formattedPhone → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
otpService → VoOtpService
no setterinherited
passwordService → VoPasswordService
no setterinherited
phone → String?
no setter
ref → Ref
The Ref associated with this notifier.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ AuthFlowState
The value currently exposed by this notifier.
getter/setter pairinherited
stateOrNull → AuthFlowState?
The value currently exposed by this Notifier.
no setterinherited

Methods

applyAuthTokens(AuthTokens tokens, {bool isNewUser = false}) → Future<void>
inherited
build() → AuthFlowState
forgotPassword({required String email}) → Future<void>
inherited
goToForgotPassword() → void
inherited
goToPage(VoAuthPageKeys page) → void
inherited
goToSignUp() → void
inherited
listenSelf(void listener(AuthFlowState? previous, AuthFlowState next), {void onError(Object error, StackTrace stackTrace)?}) → RemoveListener
Listens to changes on the value exposed by this provider.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPageChanged(VoAuthPageKeys page) → void
phoneSignUp({required String phone}) → Future<void>
inherited
resendOtp() → Future<void>
inherited
resetPassword({required String newPassword, required String confirmPassword}) → Future<void>
inherited
runBuild() → WhenComplete?
Executes Notifier.build.
inherited
setLoading({required bool isLoading, String? error}) → void
inherited
signIn({required String email, required String password}) → Future<void>
inherited
signUp({required String email, required String password, required Profile profile}) → Future<void>
inherited
toString() → String
A string representation of this object.
inherited
updateShouldNotify(AuthFlowState previous, AuthFlowState next) → bool
A method invoked when the state exposed by this Notifier changes. It compares the previous and new value, and return whether listeners should be notified.
inherited
verifyOtp({required String otp}) → Future<void>
inherited
verifyResetPassword({required String otp}) → Future<void>
inherited

Operators

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