JoltDebug class abstract final

Static utility class for debugging reactive nodes.

This class provides methods to track and debug the lifecycle and operations of reactive nodes in the Jolt reactive system. All methods are no-ops in release mode and only active in debug mode.

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

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

Static Properties

joltDebugFns Expando<JoltDebugFn>
final

Static Methods

create(ReactiveNode target, JoltDebugOption? option) → void
Notifies the debug system that a reactive node was created.
dispose(ReactiveNode target) → void
Notifies the debug system that a reactive node was disposed.
effect(ReactiveNode target) → void
Notifies the debug system that an effect was executed.
get(ReactiveNode target) → void
Notifies the debug system that a reactive node's value was accessed (get operation).
getDebug(Object target) JoltDebugFn?
Gets the custom debug function for a specific target object.
init() → void
Initializes Jolt DevTools support.
linked(ReactiveNode target, Link link) → void
Notifies the debug system that a reactive node was linked to a dependency.
notify(ReactiveNode target) → void
Notifies the debug system that a reactive node notified its subscribers.
set(ReactiveNode target) → void
Notifies the debug system that a reactive node's value was set (set operation).
setDebug(Object target, JoltDebugFn fn) → void
Sets a custom debug function for a specific target object.
unlinked(ReactiveNode target, Link link) → void
Notifies the debug system that a reactive node was unlinked from a dependency.