AuthService class

Http service API

  • '/api/login'
  • '/api/registration'
  • '/api/logout'

Constructors

AuthService(Dio dio)

Properties

dio Dio
final
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(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