URLRequest constructor
URLRequest({
- required Uri? url,
- String? method,
- Map<
String, String> ? headers, - Uint8List? body,
- bool? iosAllowsCellularAccess,
- bool? iosAllowsConstrainedNetworkAccess,
- bool? iosAllowsExpensiveNetworkAccess,
- IOSURLRequestCachePolicy? iosCachePolicy,
- bool? iosHttpShouldHandleCookies,
- bool? iosHttpShouldUsePipelining,
- IOSURLRequestNetworkServiceType? iosNetworkServiceType,
- double? iosTimeoutInterval,
- 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});