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> > -
no setter
- bodyUsed → bool
-
no setter
- cache → RequestCache
-
no setter
- credentials → RequestCredentials
-
no setter
- destination → RequestDestination
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
no setter
- integrity → String
-
no setter
- keepalive → bool
-
no setter
- method → String
-
no setter
- mode → RequestMode
-
no setter
- redirect → RequestRedirect
-
no setter
- referrer → String
-
no setter
- referrerPolicy → ReferrerPolicy
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal → AbortSignal
-
no setter
- url → Uri
-
no setter
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