FormRequest class

Constructors

FormRequest(HttpRequest _request)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpRequest HttpRequest
Access to the underlying HttpRequest
no setter
query Map<String, String>
Returns only query parameters
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all() Future<Map<String, dynamic>>
Returns all form fields merged with query parameters
body() Future<Map<String, dynamic>>
Returns only body fields
file(String key) Future<UploadedFile?>
Gets uploaded file for the given field name
files() Future<Map<String, UploadedFile>>
Returns all uploaded files
input(String key) Future
Gets form field value from request body
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