User class
Constructors
- User(AppHttpClient _client)
Properties
Methods
-
auth(
) → Future< bool> -
fetchUser(
) → Future< User> -
fromJson(
Map map) → User -
logout(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
) → Future< User> -
setEmail(
String email) → User -
setId(
String id) → User -
setPassword(
String password) → User -
setToken(
String token) → User -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isLoggedIn(
) → Future< bool>