User class

Inheritance

Constructors

User(HttpClient client)

Properties

client HttpClient
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getUserByToken(String token) Future<User?>
logout() Future<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(int userId, UserUpdateModel data) Future<User?>
uploadPhoto(File file) Future
userDelete(User user) Future<void>
userLogin(LoginModel data) Future<User?>
userRegister(RegisterModel data) Future<User?>

Operators

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