IUserRepository class Null safety

User interface repository

Implementers

Constructors

IUserRepository()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

forgotPassword({required String email}) Future<void>
Send to email a user forget email
getUserById(String userId) Future<AppUser>
Get the user information and return it as AppUser
getUserByToken(String accessToken) Future<AppUser>
Get the user information and return it as AppUser
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
signIn({required String username, required String password}) Future<String>
Sign in with username and password and return an access token as String
signOut(String userId) Future<void>
Signout current user
signUp({required String fullName, required String username, required String password}) Future<String>
Sign up with username and password and return an access token as String
toString() String
A string representation of this object. [...]
inherited

Operators

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