html static method
statusCode defaults to 200.
Implementation
static Response html(
dynamic htmlData, {
int statusCode = HttpStatus.ok,
Map<String, String> headers = const {},
}) => Response(
data: htmlData,
responseType: ResponseType.html,
httpStatusCode: statusCode,
headers: headers,
);