HttpResponse constructor

HttpResponse(
  1. int statusCode,
  2. String body, {
  3. String? reasonPhrase,
  4. Map<String, String> headers = const {},
  5. Map<String, dynamic>? extra,
})

Implementation

HttpResponse(this.statusCode, this.body,
    {this.reasonPhrase, this.headers = const {}, this.extra});