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

email String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
role String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surname String
final

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