Request class
- Implemented types
- Available extensions
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})
Properties
- base_name → String?
-
no setter
-
body
→ Stream<
List< ?int> > -
no setteroverride
- bodyUsed → bool
-
no setteroverride
- 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
- path → String
-
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> -
override
-
blob(
) → Future< Object> -
override
-
clone(
) → Request -
formData(
) → Future< FormData> -
override
-
json(
) → Future< Object?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
text(
) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited