Form class

Annotate a method to indicate that the request body will use form URL encoding. Fields could be declared as parameters and annotated with Field.

Annotate a parameter to add named key/value pairs for a form-encoded request.

Requests made with this annotation will have application/x-www-form-urlencoded MIME type. Field names and values will be UTF-8 encoded before being URI-encoded in accordance to RFC-3986.

Inheritance
Annotations

Constructors

Form()
const

Properties

charset String
final, inherited
contentType String
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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