findState method
Returns the state associated with the given key, or null if not found.
Implementation
T? findState(Key key) {
return states[key];
}
Returns the state associated with the given key, or null if not found.
T? findState(Key key) {
return states[key];
}