RequestInit class
- Available extensions
- Annotations
-
- @anonymous
- @JS()
- @staticInterop
Constructors
- RequestInit({String? method, dynamic headers, dynamic body, String? referrer, ReferrerPolicy? referrerPolicy, RequestMode? mode, RequestCredentials? credentials, RequestCache? cache, RequestRedirect? redirect, String? integrity, bool? keepalive, AbortSignal? signal, RequestDuplex? duplex, dynamic window})
-
factory
Properties
- body ↔ dynamic
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - cache ↔ RequestCache
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - credentials ↔ RequestCredentials
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - duplex ↔ RequestDuplex
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- headers ↔ dynamic
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - integrity ↔ String
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - keepalive ↔ bool
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - method ↔ String
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - mode ↔ RequestMode
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - redirect ↔ RequestRedirect
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - referrer ↔ String
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - referrerPolicy ↔ ReferrerPolicy
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal ↔ AbortSignal?
-
Available on RequestInit, provided by the PropsRequestInit extension
getter/setter pair - window ↔ dynamic
-
Available on RequestInit, provided by the PropsRequestInit extension
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