PaginationModel<T> class
Constructors
-
PaginationModel({int totalCount = 0, int pageIndex = 0, int pageSize = 0, List<
T> data = const []}) -
PaginationModel.fromJson(Map<
String, dynamic> json, T fromJson(Map<String, dynamic> )) -
factory
Properties
Methods
-
add(
PaginationModel< T> pagination) → void -
addAll(
List< T> datas) → void -
clear(
) → void -
getLength(
) → int -
hasNextPage(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
dynamic toElement(T)) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited