IsolateHttpResponse constructor

IsolateHttpResponse(
  1. String body,
  2. int statusCode,
  3. Map<String, String> headers, {
  4. int? contentLength,
  5. IsolateHttpRequest? request,
})

The response using for Isolate Http.

body The body of the response as a String.

statusCode The status code of the response as int.

headers The headers of the response as a Map<String, String>.

Implementation

IsolateHttpResponse(this.body, this.statusCode, this.headers,
    {this.contentLength, this.request});