render method
Renders the response by setting the content type and writing the data.
This method first sets the content type of the response by calling
writeContentType, and then writes the data to the response using
response.writeBytes.
- Parameter response: The Response object to which the data will be written.
Implementation
@override
void render(Response response) {
writeContentType(response);
response.writeBytes(data);
}