URLResponse constructor

URLResponse({
  1. required int expectedContentLength,
  2. Map<String, String>? headers,
  3. String? mimeType,
  4. int? statusCode,
  5. String? suggestedFilename,
  6. String? textEncodingName,
  7. WebUri? url,
})

Implementation

URLResponse(
    {required this.expectedContentLength,
    this.headers,
    this.mimeType,
    this.statusCode,
    this.suggestedFilename,
    this.textEncodingName,
    this.url});