AuthRepository class

Repositorio de autenticación.

Gestiona la comunicación con el endpoint REST de login y devuelve la respuesta tipada AuthResponse con el JWT y los datos del usuario.

Constructors

AuthRepository(ApiClient _apiClient)

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<AuthResponse>
Autentica al usuario contra POST /auth/login.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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