Request class Null safety

A convenience class that contains an HTTP request

Constructors

Request({required Uri uri, required Method method, required HttpHeaders headers, required String body, required Map<String, dynamic> container})
Constructor
const

Properties

body String
The body of the request
final
container Map<String, dynamic>
A container for all variables [...]
final
hashCode int
The hash code for this object. [...]
read-only, override
headers HttpHeaders
The headers of the request
final
method Method
The Method of the request
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uri Uri
The Uri of the request
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. [...]
override