Request class
Constructors
- Request(Resource resource, {String? method, Headers? headers, Object? body, String? referrer, ReferrerPolicy? referrerPolicy, RequestMode? mode, RequestCredentials? credentials, RequestCache? cache, RequestRedirect? redirect, String? integrity, bool? keepalive, AbortSignal? signal, RequestDuplex? duplex})
Properties
-
body
→ Stream<
List< int>>? -
read-only
- bodyUsed → bool
-
read-only
- cache → RequestCache
-
read-only
- credentials → RequestCredentials
-
read-only
- destination → RequestDestination
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- headers → Headers
-
read-only
- integrity → String
-
read-only
- keepalive → bool
-
read-only
- method → String
-
read-only
- mode → RequestMode
-
read-only
- redirect → RequestRedirect
-
read-only
- referrer → String
-
read-only
- referrerPolicy → ReferrerPolicy
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- signal → AbortSignal
-
read-only
- url → Uri
-
read-only
Methods
-
arrayBuffer(
) → Future< ByteBuffer> -
blob(
) → Future< Object> -
clone(
) → Request -
formData(
) → Future< FormData> -
json(
) → Future< Object?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
) → Future< String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited