AppState class

Stores the application's state

Constructors

AppState({@required Map<String, dynamic> data})

Properties

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

copy({String key, dynamic value}) AppState
Copies a value into the store
copyAll(Map<String, dynamic> map) AppState
Copies a set of values into the store
copyMultiple(List<Map<String, dynamic>> maps) AppState
Copies multiple sets of values into the store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read<T>(String key, [T defValue]) → T
Retrieves a value from the store
toString() String
A string representation of this object. [...]
inherited

Operators

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