DeekWebHttpResponse constructor
DeekWebHttpResponse({})
Creates a synthetic response without requiring package:http in callers.
Implementation
DeekWebHttpResponse(
{required int statusCode,
List<int> bodyBytes = const [],
Map<String, String> headers = const {},
String? reasonPhrase})
: _response = Response.bytes(List<int>.of(bodyBytes), statusCode,
headers: Map<String, String>.of(headers),
reasonPhrase: reasonPhrase);