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

Constructors

QueryListExtractable(String key)
Reads every value for key.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
The query key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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