send method

void send(
  1. String text, {
  2. int status = 200,
})

Sends a plain text response.

Implementation

void send(String text, {int status = 200}) {
  response.status(status).send(text);
}