JoltDebugOption class final
Debug options for reactive nodes.
This class provides various ways to configure debugging behavior for reactive nodes, including labels, types, and custom debug callbacks.
Constructors
- JoltDebugOption.fn(JoltDebugFn? onDebug)
-
Creates a debug option with only a custom debug callback.
const
- JoltDebugOption.label(String? debugLabel)
-
Creates a debug option with only a label.
const
- JoltDebugOption.of({String? debugLabel, JoltDebugFn? onDebug})
-
Creates a debug option with a label and/or custom debug callback.
const
- JoltDebugOption.type(String? debugType)
-
Creates a debug option with only a debug type.
const
Properties
- debugLabel → String?
-
final
- debugType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onDebug → JoltDebugFn?
-
final
- 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 Methods
-
merge(
JoltDebugOption? base, JoltDebugOption? other) → JoltDebugOption? -
Merges two debug options, with
othertaking precedence overbase.