Atom class Null safety

Implementers
Available Extensions

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
hashCode int
The hash code for this object. [...]
read-only, inherited
hasObservers bool
read-only
name String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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