UserRepo class

Implemented types

Constructors

UserRepo({required IHubbleHttpBuilder http, required StringGetter baseUrl})

Properties

baseUrl → StringGetter
final
hashCode int
The hash code for this object.
no setterinherited
http → IHubbleHttpBuilder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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