Response.fromString constructor
Response.fromString()
Implementation
Response.fromString(int status, String statusText,
Map<String, String> headers, String? bodyString)
: super(status, statusText, headers) {
_body = HttpBody.fromString(contentType, bodyString,
fallbackEncoding: encoding);
}