Request class

Constructors

Request(String method, String path, List<MapEntry<String, String>> headers, List<MapEntry<String, String>> queryParameters, String? body)

Properties

body String?
final
hashCode int
The hash code for this object.
no setterinherited
headers List<MapEntry<String, String>>
final
method String
final
path String
final
queryParameters List<MapEntry<String, String>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceQueryParameter(bool predicate(MapEntry<String, String> entry), MapEntry<String, String> replace(MapEntry<String, String> entry)) → void
Replace queryParameters with replace function, for the entries which meets the predicate function.
setHeader(String name, String value) → void
Set extra HTTP header. When name already exists, the value is replaced with value.
toString() String
A string representation of this object.
inherited

Operators

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