sendHtml method

void sendHtml(
  1. String html
)

send html String

Implementation

void sendHtml(String html) {
  response
    ..headers.contentType = ContentType.html
    ..write(html)
    ..close();
}