headersSent property

  1. @override
bool get headersSent
override

Whether the status and headers have been sent, as by an unbuffered response that has started its body. After that, an error can no longer be answered with an error response: the response is aborted instead.

Implementation

@override
bool get headersSent => _streamInitialized;