FetchRequest class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

FetchRequest({WebUri? url, String? method, Map<String, dynamic>? headers, dynamic body, String? mode, FetchRequestCredential? credentials, String? cache, String? redirect, String? referrer, ReferrerPolicy? referrerPolicy, String? integrity, bool? keepalive, FetchRequestAction? action})
FetchRequest.fromJson(Map<String, dynamic> json)
factory

Properties

action → FetchRequestAction?
final
body → dynamic
final
cache → String?
final
credentials → FetchRequestCredential?
final
hashCode → int
The hash code for this object.
no setteroverride
headers → Map<String, dynamic>?
final
integrity → String?
final
keepalive → bool?
final
method → String?
final
mode → String?
final
redirect → String?
final
referrer → String?
final
referrerPolicy → ReferrerPolicy?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → WebUri?
final

Methods

copyWith({WebUri? url, String? method, Map<String, dynamic>? headers, dynamic body, String? mode, FetchRequestCredential? credentials, String? cache, String? redirect, String? referrer, ReferrerPolicy? referrerPolicy, String? integrity, bool? keepalive, FetchRequestAction? action}) → FetchRequest
copyWithFetchRequest({WebUri? url, String? method, Map<String, dynamic>? headers, dynamic body, String? mode, FetchRequestCredential? credentials, String? cache, String? redirect, String? referrer, ReferrerPolicy? referrerPolicy, String? integrity, bool? keepalive, FetchRequestAction? action}) → FetchRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithFetchRequest([FetchRequestPatch? patchInput]) → FetchRequest
toJson() → Map<String, dynamic>

Available on FetchRequest, provided by the FetchRequestSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override