SharedStateManager class

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addStateChangeListener(String type, OnSharedStateChangeListener listener) → void
clearState(String type) Future<void>
getCachedState(String type) Map<String, dynamic>?
getState(String type) Future<Map<String, dynamic>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeStateChangeListener<T>(String type, OnSharedStateChangeListener listener) → void
toString() String
A string representation of this object.
inherited
updateState(String type, Map<String, dynamic>? data) Future<void>

Operators

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

Static Properties

instance SharedStateManager
no setter