CollectionUnpagedInfo class final

Metadata for a complete unpaged result with no forward or backward navigation.

Inheritance

Constructors

CollectionUnpagedInfo({required int itemCount})
Creates unpaged metadata with itemCount also used as the known total.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasKnownTotal → bool
Whether totalItems was supplied.
no setterinherited
hasNext → bool
Always false because this is an unpaged result.
no setteroverride
hasPrevious → bool
Always false because this is an unpaged result.
no setteroverride
itemCount → int
Number of items in the complete result.
final
loadedItems → int
Number of items in the complete result.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalItems → int?
Total matching items across the source, or null when unknown.
finalinherited

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