ServiceResponse class
DTO de servicio hospitalario (p. ej. CardiologĂa, NeumologĂa).
Representa un departamento o especialidad del hospital.
Constructors
- ServiceResponse({required String serviceId, required String name, required bool active})
-
ServiceResponse.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