ComputedStateManager class

Manager for reactive computed states

Constructors

ComputedStateManager()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
registeredKeys List<String>
Get all registered computed state keys
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear all registrations (for testing)
isComputed(String key) bool
Check if a key is a registered computed state
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T>(String targetKey, ComputedState<T> computed) → void
Register a computed state that automatically updates
toString() String
A string representation of this object.
inherited
unregister(String targetKey) → void
Unregister a computed state

Operators

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