updateCubit abstract method

void updateCubit(
  1. C cubit,
  2. T object
)

When an object with the same ID as one already tracked emerged, this method is used to decide what to do. You can update the current tracked cubit or replacing it, for example

Implementation

void updateCubit(C cubit, T object);