Disposer mixin

Generic Disposer mixin Allows for the registration of dispose callbacks to be called on dispose Also acts as a decorator to inform the framework the class is disposable

Implemented types
Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDispose(VoidCallback onDispose) → void
Registers callback to be executed on dispose of Disposer in reversed insert order
dispose() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited