ManagedDisposer class

Used to invoke, and remove references to, a Disposer before disposal of the parent object.

Constructors

ManagedDisposer(Disposer _disposer)

Properties

didDispose → Future<Null>
A Future that will complete when this object has been disposed.
read-only
isDisposed → bool
Whether this object has been disposed.
read-only
isDisposedOrDisposing → bool
Whether this object has been disposed or is disposing. [...]
read-only
isDisposing → bool
Whether this object is in the process of being disposed. [...]
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → Future<Null>
Dispose of the object, cleaning up to prevent memory leaks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited