RxTracking class
Internal stack-based tracking system for Rx values.
Uses a stack rather than a single global callback so nested tracking scopes
(e.g., an RxComputed initialized or re-evaluated inside a ZenObserver
build method, or nested ZenObserver widgets) never clobber the outer
tracker when the inner tracker finishes.
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 Methods
-
clearTracker(
) → void - Pop the most recent tracker from the tracking stack.
-
setTracker(
void trackFunc(ValueNotifier)) → void - Push a tracker onto the tracking stack, called by ZenObserver before building.
-
setTrackerWithoutRebuild(
void trackFunc(ValueNotifier)) → void - Push a tracker that does not log tracking events.
-
track(
ValueNotifier value) → void - Track an Rx value against the top tracker on the stack, if any.