Request class Null safety

An easy-to-use container for requests

Constructors

Request({required String method, required Uri uri, required HttpHeaders headers, required String body})
Constructor [...]

Properties

body String
The body of the request [...]
final
data Map<String, dynamic>
This contains a list of data that can be shared between middlewares and endpoints [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
headers HttpHeaders
The headers of the request
final
method String
The accepted HTTP method
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uri Uri
The requested full Uri
final

Methods

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

Operators

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