HttpResponse constructor

HttpResponse({
  1. int status = 0,
  2. String reason = '',
  3. List<HttpHeader> headers = const [],
  4. Uint8List? body,
})

Implementation

HttpResponse({
  this.status = 0,
  this.reason = '',
  this.headers = const [],
  Uint8List? body,
}) : body = body ?? Uint8List(0),
     super(fullyQualifiedName);