DisposableManager class

Managers for disposable members.

This interface allows consumers to exercise more control over how disposal is implemented for their classes.

Deprecated: Use DisposableManagerV7 instead.

Implementers
Annotations
  • @deprecated

Constructors

DisposableManager()

Properties

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

manageDisposable(Disposable disposable) → void
Automatically dispose another object when this object is disposed. [...]
manageDisposer(Disposer disposer) → void
Automatically handle arbitrary disposals using a callback. [...]
manageStreamController(StreamController controller) → void
Automatically cancel a stream controller when this object is disposed. [...]
manageStreamSubscription(StreamSubscription subscription) → void
Automatically cancel a stream subscription when this object is disposed. [...]
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