isClosed property

bool isClosed

Returns true if this channel is closed. An AsyncTaskChannel is closed when a task is finished.

Implementation

bool get isClosed => _initialized && _port.isClosed;