addCubit method
Implementation
AppState addCubit(CubitEntity cubit) {
return copyWith(
instantiatedCubits: {
...instantiatedCubits,
cubit.id: cubit,
},
);
}
AppState addCubit(CubitEntity cubit) {
return copyWith(
instantiatedCubits: {
...instantiatedCubits,
cubit.id: cubit,
},
);
}