Store class abstract

A base class for storing data and subscribing to it.

It can be used to implement complex state management solutions in patterns similar to Provider.

Implementers

Constructors

Store()

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
onUpdate(void callback()) StreamSubscription<void>
callback is called after setState has been called.
setState(void callback()) → void
Runs the callback and debounces a call to onUpdate.
toString() String
A string representation of this object.
inherited

Operators

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