onNewCubit method
Implementation
void onNewCubit(CubitEntity newCubit) {
var pageCubits = {...state.cubits};
if (pageCubits[newCubit.id] != null) {
return;
}
pageCubits[newCubit.id] = newCubit;
emit(state.copyWith(cubits: pageCubits));
}