statesById method

Map<String, StateX<StatefulWidget>> statesById(
  1. List<String> ids
)
inherited

Returns a Map of StateView objects using unique String identifiers.

Implementation

Map<String, StateX> statesById(List<String> ids) {
  final Map<String, StateX> map = {};
  for (final id in ids) {
    final state = stateById(id);
    if (state != null) {
      map[id] = state;
    }
  }
  return map;
}