PaginadoModel class
Modelo de paginado para las colecciones parametros: coleccion: nombre de la coleccion totalItems: total de items en la coleccion subTotal: cantidad de items a mostrar skip: pagina actual mostrarPaginacion: variable para mostrar o no los botones de paginacion en la ui params: parametros que se envian a la consulta
Constructors
Properties
- coleccion → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- limit → int
-
final
- mostrarPaginacion → bool
-
final
-
params
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skip → int
-
final
- subTotal → int
-
final
- totalItems → int
-
final
Methods
-
copyWith(
{String? coleccion, int? totalItems, int? skip, int? subTotal, int? limit, Map< String, dynamic> ? params}) → PaginadoModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
cargarItem(
{required List< PaginadoModel> dataActual, required PaginadoModel item}) → List<PaginadoModel> -
obtenerItem(
{required List< PaginadoModel> lstData, required String coleccion}) → PaginadoModel