FetchRequest constructor

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

Implementation

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