Response constructor

Response(
  1. int statusCode,
  2. String body,
  3. Uint8List bodyBytes,
  4. int? contentLength,
  5. Map<String, String> headers,
  6. bool isRedirect,
  7. bool persistentConnection,
  8. String? reasonPhrase,
  9. BaseRequest? request,
)

Implementation

Response(
  this.statusCode,
  this.body,
  this.bodyBytes,
  this.contentLength,
  this.headers,
  this.isRedirect,
  this.persistentConnection,
  this.reasonPhrase,
  this.request,
);