isDisposed property

bool get isDisposed

Checks if the controller has been disposed.

Returns true if dispose has been called, false otherwise. A disposed controller cannot be used for any operations.

Implementation

bool get isDisposed => _channel == null;