set method

void set(
  1. T value
)

change the value tracked by the cubit

Implementation

void set(T value) {
  emit(value);
}