Response.bytes constructor
Response.bytes(})
Create a new HTTP response with a byte array body.
Implementation
Response.bytes(List<int> bodyBytes, super.statusCode,
{super.request,
super.headers,
super.isRedirect,
super.persistentConnection,
super.reasonPhrase})
: bodyBytes = toUint8List(bodyBytes),
super(contentLength: bodyBytes.length);