states property

Map<String, Map<String, Event>> states
getter/setter pair

The room states are a key value store of the key (type,state_key) => State(event). In a lot of cases the state_key might be an empty string. You should use the methods getState() and setState() to interact with the room states.

Implementation

Map<String, Map<String, Event>> states = {};