Search<T extends Object> class
sealed
Whether an async list is searchable, and how search behaves.
A sealed, injected, defaulted seam, like the pagination end and search cache policies: the default
is NoSearch (a plain paginated list), and search is opted into with AsyncSearch, which carries
the search fetcher and its cache policy together. Applies to ListSmith.async only; a .sync list
is always a search over in-memory items, so it takes its predicate directly (see ListSmith.sync).
Bundling the fetcher with the cache policy means neither can be set on a non-searching list, so a
cache policy is never left inert.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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