isDisposedOrDisposing property
bool
get
isDisposedOrDisposing
Whether this object has been disposed or is disposing.
This will become true
as soon as the dispose method is called
and will remain true
forever. This is intended as a convenience
and object.isDisposedOrDisposing
will always be the same as
object.isDisposed || object.isDisposing
.
Implementation
bool get isDisposedOrDisposing => isDisposed || isDisposing;