states property
Map of state keys to their serialized state data.
Keys are strings that identify the state contributor. Values are JSON-serializable data (Map, List, primitives).
Example:
{
'user_state': {'name': 'John', 'age': 30},
'settings_state': {'theme': 'dark', 'language': 'en'},
}
Implementation
final Map<String, dynamic> states;