copyWithFetchRequest method
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,
Implementation
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,
}) {
return copyWith(
url: url,
method: method,
headers: headers,
body: body,
mode: mode,
credentials: credentials,
cache: cache,
redirect: redirect,
referrer: referrer,
referrerPolicy: referrerPolicy,
integrity: integrity,
keepalive: keepalive,
action: action,
);
}