CollectionKeysetPageRequest<K> class
final
Requests a page on one side of a stable ordering key.
The loader owns key comparison and ordering. after and before are mutually exclusive; neither being supplied requests the initial page.
- Inheritance
-
- Object
- CollectionPageRequest
- CollectionKeysetPageRequest
Constructors
- CollectionKeysetPageRequest({K? after, K? before, required int limit})
-
Creates a keyset request. Asserts a positive
limitand that at most one ofafterandbeforeis supplied.const
Properties
- after → K?
-
Exclusive lower continuation boundary, interpreted by the loader.
final
- before → K?
-
Exclusive upper continuation boundary, interpreted by the loader.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
Maximum requested number of items; must be greater than zero.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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