ReactiveContext class

Available Extensions

Constructors

ReactiveContext({ReactiveConfig? config})

Properties

config ReactiveConfig
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSpyEnabled bool
no setter
isWithinBatch bool
no setter
nextId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPendingReaction(Reaction reaction) → void
clearObservables(Derivation derivation) → void
endAllowStateChanges({bool allow = true}) → void
endBatch() → void
endUntracked(Derivation? prevDerivation) → void
enforceReadPolicy(Atom atom) → void
enforceWritePolicy(Atom atom) → void
isComputingDerivation() bool
nameFor(String prefix) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onReactionError(ReactionErrorHandler handler) Dispose
popComputation() → void
propagateChanged(Atom atom) → void
pushComputation() → void
reportObserved(Atom atom) → void
runReactions() → void
spy(SpyListener listener) Dispose
spyReport(SpyEvent event) → void
startAllowStateChanges({bool allow = true}) bool
startBatch() → void
startUntracked() Derivation?
toString() String
A string representation of this object.
inherited
trackDerivation<T>(Derivation d, T fn()) → T?
untracked<T>(T fn()) → T

Operators

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