isClosed property

bool get isClosed

Returns true if this stream is closed.

Implementation

bool get isClosed => _controllerObj?.isClosed ?? false;