Pagination class
Constructors
-
Constructor for creating a Pagination object.
Properties
-
cursor
↔ String
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
offset
↔ int
-
getter/setter pair
-
page
→ int
-
Calculate the current page based on skip and take values.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
skip
↔ int
-
getter/setter pair
-
take
↔ int
-
getter/setter pair
Methods
-
decrement()
→ void
-
Decrements the skip value by the number of items to take, ensuring it doesn't go negative.
override
-
increment()
→ void
-
Increments the skip value by the number of items to take.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
reset()
→ void
-
Resets the pagination values to their initial state.
override
-
toJson()
→ Map<String, dynamic>
-
Converts the current pagination state to a JSON format.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(GridResult gridResult)
→ void
-
override