Response constructor

Response(
  1. String body, {
  2. int status = 200,
  3. Map<String, String>? headers,
})

Implementation

Response(this.body, {this.status = 200, Map<String, String>? headers})
    : _headers = headers ?? {};