isDisposing property

bool get isDisposing

Whether this object is in the process of being disposed.

This will become true as soon as the dispose method is called and will become false once the didDispose future completes.

Implementation

bool get isDisposing => _isDisposing;