dynamic end()

Prevents more data from being written to the response.

Source

end() => isOpen = false;