Pagination class abstract

Pagination

Properties:

  • limit - How many results were requested
  • offset - How many results were skipped before this page
  • total - How many results matched in total, across every page
  • hasMore - Whether another page follows this one
Annotations
  • @BuiltValue.new()

Constructors

Pagination([void updates(PaginationBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasMore bool
Whether another page follows this one
no setter
limit num
How many results were requested
no setter
offset num
How many results were skipped before this page
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total num
How many results matched in total, across every page
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PaginationBuilder)) Pagination
Rebuilds the instance.
inherited
toBuilder() PaginationBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Pagination>
no setter