PaginatedAdmissionResult class
Wrapper de paginación para resultados de búsqueda de ingresos.
Encapsula la lista de resultados junto con los metadatos de paginación devueltos por el backend (total de elementos, páginas, página actual).
Constructors
- PaginatedAdmissionResult({required List content, required int totalElements, required int totalPages, required int currentPage, required bool isLast})
-
PaginatedAdmissionResult.fromJson(Map<
String, dynamic> json, List parsedContent) -
Crea una instancia a partir del JSON de paginación del backend.
factory
Properties
- content → List
-
final
- currentPage → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLast → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalElements → int
-
final
- totalPages → int
-
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