dynamic write(value)

Writes data to the response.

Source

write(value) {
  if (isOpen)
    responseData.add(UTF8.encode(value.toString()));
}