FetchRequest constructor

FetchRequest({
  1. FetchRequestAction? action = FetchRequestAction.PROCEED,
  2. dynamic body,
  3. String? cache,
  4. FetchRequestCredential? credentials,
  5. Map<String, dynamic>? headers,
  6. String? integrity,
  7. bool? keepalive,
  8. String? method,
  9. String? mode,
  10. String? redirect,
  11. String? referrer,
  12. ReferrerPolicy? referrerPolicy,
  13. WebUri? url,
})

Implementation

FetchRequest(
    {this.action = FetchRequestAction.PROCEED,
    this.body,
    this.cache,
    this.credentials,
    this.headers,
    this.integrity,
    this.keepalive,
    this.method,
    this.mode,
    this.redirect,
    this.referrer,
    this.referrerPolicy,
    this.url});