onCubitChanged method
Implementation
void onCubitChanged(CubitEntity cubitUpdated) {
final cubits = {...state.cubits};
assert(cubits[cubitUpdated.id] != null);
cubits[cubitUpdated.id] = cubitUpdated;
emit(state.copyWith(cubits: {...cubits}));
}