AuthService class
Http service API
- '/api/login'
- '/api/registration'
- '/api/logout'
Constructors
- AuthService(Dio dio)
Properties
Methods
-
login(
SignInRequest request) → Future< void> - Login user
-
logout(
) → Future< void> - Logout user
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registration(
SignUpRequest request) → Future< void> - Registration user
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited