UserRepo class
- Implemented types
Constructors
- UserRepo({required IHubbleHttpBuilder http, required StringGetter baseUrl})
Properties
Methods
-
deleteAccount(
{required String reason}) → Future< Result< void> > -
override
-
logout(
) → Future< Result> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendEmailVerificationOtp(
{required String email}) → Future< Result< GenerateEmailOtpResponse> > -
override
-
sendOTPViaSMS(
String phoneNumber) → Future< Result< SendOTPResult> > -
override
-
sendOTPWhatsapp(
String phoneNumber) → Future< Result< SendOTPResult> > -
override
-
submitOTP(
{required String phoneNumber, required String otp, required String otpToken, required bool autoFill}) → Future< Result< SubmitOTPResult> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyEmailWithIdToken(
{required Email_Provider provider, required String idToken}) → Future< Result< EmailVerificationResponse> > -
override
-
verifyEmailWithOtp(
{required String otp, required String otpToken, required String email}) → Future< Result< void> > -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited