UserResponse class
DTO de usuario (médico) del sistema.
Devuelto por los endpoints de gestión de usuarios y utilizado en selectores de médico y listados administrativos.
Constructors
- UserResponse({required String id, required String name, required String surname, required String email, required String role})
-
UserResponse.fromJson(Map<
String, dynamic> json) -
Crea una instancia a partir del JSON devuelto por el backend.
factory
Properties
Methods
-
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