RequestPaginate class

Constructors

RequestPaginate({String pageParamName = DEFAULT_PARAM_PAGE, int page = 0, String sizeParamName = DEFAULT_PARAM_SIZE, int size = DEFAULT_SIZE})

Properties

hashCode int
The hash code for this object.
no setterinherited
page int
getter/setter pair
pageParamName String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair
sizeParamName String
getter/setter pair

Methods

build() Map<String, dynamic>
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

Static Methods

fromMap(Map<String, dynamic>? map, {String defaultPageParamName = DEFAULT_PARAM_PAGE, int defaultPage = 0, String defaultSizeParamName = DEFAULT_PARAM_SIZE, int defaultSize = DEFAULT_SIZE}) RequestPaginate
getPageTotal({Response? response, Map<String, dynamic>? headers, int? xTotalCount, required int size}) int