QueryListExtractable<T> class
final
Extracts every value for one repeated query key, coerced to T.
Uri.queryParameters keeps only the last value for a repeated key, so
reading ?tag=a&tag=b needs this instead of QueryExtractable. An absent
key gives an empty list rather than a rejection.
- Implemented types
-
- FromRequestParts<
List< T> >
- FromRequestParts<
Constructors
- QueryListExtractable(String key)
-
Reads every value for
key.const
Properties
Methods
-
extract(
Request request) → Future< Result< List< >T> , Rejection> -
Produces the value, or the rejection that stops the handler.
override
-
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