RequestInit class Null safety

Annotations

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, dynamic window})
factory

Properties

body ↔ dynamic
read / write
cache RequestCache
read / write
credentials RequestCredentials
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers ↔ dynamic
read / write
integrity String
read / write
keepalive bool
read / write
method String
read / write
mode RequestMode
read / write
redirect RequestRedirect
read / write
referrer String
read / write
referrerPolicy ReferrerPolicy
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signal AbortSignal?
read / write
window ↔ dynamic
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited