AlwaysFilterSearchOptionsMixin<K, T> mixin

Used when your service always filters, and listAllOptions should just execute an empty search

Superclass Constraints
Mixin Applications

Properties

adhocOptionBuilder → KeyedAdhocBuilder<K, T>?
no setterinherited
canShowAll bool
Whether or not its reasonable to display all options (or at least the first few), without any query input from the user.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cast<KK, VV>() → IKeyedOptionsHandler<KK, VV>
inherited
castList(List input) List<K>
Casts a list of inputs as this type
inherited
filter(String? query, List currentSelections, int limit) FutureOr<List<T>>
Filters the list of all options based on a query - the list of current selections is also provided.
inherited
listAllOptions([int? limit]) FutureOr<List<T>>
A list of all options.
override
loadValue(K key) FutureOr<T?>
Loads a value given a key - because some options can be suggestive type-aheads, consumers should use StringOptionsHandlerExtension.resolveOption and StringOptionsHandlerExtension.resolveAllOptions
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toKey(T value) → K?
Produces a key, given a value
inherited
toOption(T? value) → KeyedOption<K, T>?
Converts a value T to a KeyedOption
inherited
toString() String
A string representation of this object.
inherited
withMetaContext(IMetaFormFieldContext context) KeyedOptionsHandler<K, T>
Creates a copy of this handler, for hte provided context. Sometimes the behavior of options will change based on the surrounding context.
inherited

Operators

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