StateStore class abstract

A state store is a class that stores the state of the application. It is used to store the state of the application so that it can be shared between multiple widgets and mediators.

The state is the map that stores the states of the application. The key is the id of the state and the value is the ValueNotifier that will notify the widget when the state changes.

Constructors

StateStore({Map<String, ValueNotifier<Result>>? state})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ Map<String, ValueNotifier<Result>>
The map that stores the states of the application. The key is the id of the state and the value is the ValueNotifier that will notify the widget when the state changes.
getter/setter pair

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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