ServiceRepository class
Repositorio de servicios hospitalarios (p. ej. Cardiología, Neumología).
Permite buscar servicios por nombre a través del endpoint
paginado GET /services/search.
Constructors
- ServiceRepository(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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchByName(
String name, {int page = 0, int size = 5}) → Future< List< ServiceResponse> > -
Busca servicios cuyo nombre contenga
name, con paginación. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited