FormMap class final

The decoded fields of a form body.

One extractor reads the body and @Field parameters read from the result, so the body is consumed once no matter how many fields a handler declares.

Constructors

FormMap(Map<String, String> fields)
Wraps decoded fields.
const

Properties

fields Map<String, String>
The decoded field values.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

field<T>(String name) Result<T, Rejection>
Reads field name, coerced to T.
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