getStates static method
Returns a Map of StateView objects using unique String identifiers.
Implementation
static Map<String, StateMVC> getStates(List<String> keys) {
final Map<String, StateMVC> map = {};
for (final key in keys) {
final sv = getState(key);
if (sv != null) {
map[key] = sv;
}
}
return map;
}