setContentTypeString method
Sets the Content-Type header from a string.
Implementation
void setContentTypeString(String contentType) {
_response.headers.contentType = ContentType.parse(contentType);
}
Sets the Content-Type header from a string.
void setContentTypeString(String contentType) {
_response.headers.contentType = ContentType.parse(contentType);
}