isCommitted property

  1. @override
bool get isCommitted
override

Whether the status and headers are already sent, which happens at the first body bytes, a flush or close. A filter that wants to change headers checks this first.

Implementation

@override
bool get isCommitted => _committed.isCompleted;