Atom class

Implementers

Constructors

Atom({String name, dynamic onObserved(), dynamic onUnobserved(), ReactiveContext context})
Creates a simple Atom for tracking its usage in a reactive context. This is useful when you don't need the value but instead a way of knowing when it becomes active and inactive in a reaction. [...]
factory

Properties

context ReactiveContext
read-only
hasObservers → bool
read-only
name → String
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

onBecomeObserved(Function fn) → void Function()
onBecomeUnobserved(Function fn) → void Function()
reportChanged() → void
reportObserved() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited