AuthClient class
Example usage
Constructors
- AuthClient(dynamic channel)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
login(
String email, String password) → Future< String> - Returns the token or throws an error
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String email, String password) → Future< String> - Returns the token or throws an error
-
toString(
) → String -
A string representation of this object.
inherited
-
validateToken(
String token) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited