RequestBuilder class
Constructors
Properties
- 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
-
addHeader(
String name, String value) → RequestBuilder -
build(
) → Request -
cacheControl(
CacheControl cacheControl) → RequestBuilder -
delete(
RequestBody body) → RequestBuilder -
get(
) → RequestBuilder -
head(
) → RequestBuilder -
header(
String name, String value) → RequestBuilder -
headers(
Headers headers) → RequestBuilder -
method(
String method, RequestBody body) → RequestBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
patch(
RequestBody body) → RequestBuilder -
post(
RequestBody body) → RequestBuilder -
put(
RequestBody body) → RequestBuilder -
removeHeader(
String name) → RequestBuilder -
toString(
) → String -
Returns a string representation of this object.
inherited
-
url(
HttpUrl value) → RequestBuilder
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited