Response.raw constructor

Response.raw(
  1. Body body, {
  2. required int status,
  3. required String statusText,
  4. ResponseType type,
  5. bool redirected,
  6. String url,
})

Internal constructor, Creates a new Response object.

Implementation

factory Response.raw(
  Body body, {
  required int status,
  required String statusText,
  ResponseType type,
  bool redirected,
  String url,
}) = _Response.raw;