DisposableNodeMixin mixin

Mixin providing base disposal functionality for reactive nodes.

Implements common disposal logic and state management. Automatically tracks disposal state and calls onDispose for custom cleanup.

Example:

class MyNode<T> with DisposableNodeMixin implements DisposableNode {
  @override
  void onDispose() {
    // Custom cleanup logic
  }
}
Implemented types
Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this node has been disposed.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes this node and cleans up resources.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose() → void
Called when the node is being disposed.
toString() String
A string representation of this object.
inherited

Operators

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