RequestInit extension type
Constructors
- RequestInit({String method, HeadersInit headers, BodyInit? body, String referrer, ReferrerPolicy referrerPolicy, RequestMode mode, RequestCredentials credentials, RequestCache cache, RequestRedirect redirect, String integrity, bool keepalive, AbortSignal? signal, RequestDuplex duplex, RequestPriority priority, JSAny? window})
-
factory
Properties
- body ↔ BodyInit?
-
getter/setter pair
- cache ↔ RequestCache
-
getter/setter pair
- credentials ↔ RequestCredentials
-
getter/setter pair
- duplex ↔ RequestDuplex
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers ↔ HeadersInit
-
getter/setter pair
- integrity ↔ String
-
getter/setter pair
- keepalive ↔ bool
-
getter/setter pair
- method ↔ String
-
getter/setter pair
- mode ↔ RequestMode
-
getter/setter pair
- priority ↔ RequestPriority
-
getter/setter pair
- redirect ↔ RequestRedirect
-
getter/setter pair
- referrer ↔ String
-
getter/setter pair
- referrerPolicy ↔ ReferrerPolicy
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal ↔ AbortSignal?
-
getter/setter pair
- window ↔ JSAny?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited