getState static method
Returns a StateView object using a unique String identifier.
Implementation
// There's a better way. Just too tired now.
static StateMVC? getState(String keyId) {
StateMVC? sv;
for (final map in _states) {
if (map.containsKey(keyId)) {
sv = map[keyId];
break;
}
}
return sv;
}