setContentType method
Sets the Content-Type header.
Implementation
void setContentType(ContentType contentType) {
_response.headers.contentType = contentType;
}
Sets the Content-Type header.
void setContentType(ContentType contentType) {
_response.headers.contentType = contentType;
}