URLRequest constructor

URLRequest({
  1. required Uri? url,
  2. String? method,
  3. Map<String, String>? headers,
  4. Uint8List? body,
  5. bool? iosAllowsCellularAccess,
  6. bool? iosAllowsConstrainedNetworkAccess,
  7. bool? iosAllowsExpensiveNetworkAccess,
  8. IOSURLRequestCachePolicy? iosCachePolicy,
  9. bool? iosHttpShouldHandleCookies,
  10. bool? iosHttpShouldUsePipelining,
  11. IOSURLRequestNetworkServiceType? iosNetworkServiceType,
  12. double? iosTimeoutInterval,
  13. Uri? iosMainDocumentURL,
})

Implementation

URLRequest(
    {required this.url,
    this.method,
    this.headers,
    this.body,
    this.iosAllowsCellularAccess,
    this.iosAllowsConstrainedNetworkAccess,
    this.iosAllowsExpensiveNetworkAccess,
    this.iosCachePolicy,
    this.iosHttpShouldHandleCookies,
    this.iosHttpShouldUsePipelining,
    this.iosNetworkServiceType,
    this.iosTimeoutInterval,
    this.iosMainDocumentURL});