allCubits property

List<CubitEntity> get allCubits

Implementation

List<CubitEntity> get allCubits {
  final cubits = state.cubits.values.map((e) => e()).toList();
  emit(state.copyWith(
      instantiatedCubits:
          Map.fromEntries(cubits.map((e) => MapEntry(e.id, e)))));
  return cubits;
}