EffectNodeMixin mixin

Mixin that provides base functionality for effect nodes.

This mixin implements common disposal logic for effect-related nodes such as Effect, Watcher, and EffectScope.

Example:

class CustomEffectNode with EffectNode implements ChainedDisposable {
  @override
  FutureOr<void> onDispose() async {
    // 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 during the disposal process to perform custom cleanup.
toString() String
A string representation of this object.
inherited

Operators

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