IUserService class Null safety

User data source interface service

Implementers

Constructors

IUserService()

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<AppUserModel>
getUserByToken(String accessToken) Future<AppUserModel>
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, bool? rememberMe}) Future<String>
Sign in with username and password and return an access token as String
signOut(String userId) Future<void>
Sign out 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