JoltWatcherHookCreator class final
Helper class for creating watcher hooks.
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
-
call<
T> (T sources(), WatcherFn< T> fn, {List<Object?> ? keys, JoltDebugOption? debug, bool immediately = false, WhenFn<T> ? when}) → Watcher - Creates a watcher hook that observes changes with fine-grained control.
-
immediately<
T> (T sources(), WatcherFn< T> fn, {List<Object?> ? keys, JoltDebugOption? debug, WhenFn<T> ? when}) → Watcher<T> - Creates a watcher hook that executes immediately upon creation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
once<
T> (T sources(), WatcherFn< T> fn, {List<Object?> ? keys, JoltDebugOption? debug, WhenFn<T> ? when}) → Watcher<T> - Creates a watcher hook that executes only once.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited