isClosed property

bool get isClosed

Whether the application closed the response. Writing after that throws a StateError.

Implementation

bool get isClosed => _closed.isCompleted;