isDisposed property

bool get isDisposed

Whether dispose has been called, for a test that wants to assert a device was actually torn down rather than merely dropped.

Implementation

bool get isDisposed => _isDisposed;