CollectionMapper<InternalItem, Item> class
Maps collection elements while querying.
- Inheritance
-
- Object
- Collection<
Item> - CollectionMapper
Constructors
-
CollectionMapper(Collection<
InternalItem> internal, FutureOr<Item> mapper(InternalItem))
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
internal
→ Collection<
InternalItem> -
final
-
mapper
→ FutureOr<
Item> Function(InternalItem) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getItems(
int offset, int limit) → Future< List< Item> > -
override
-
getSize(
) → Future< int> -
override
-
map<
T> (FutureOr< T> mapper(Item)) → CollectionMapper<Item, T> -
inherited
-
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