decrement method

void decrement()

Subtract 1 from the current state.

Implementation

void decrement() => emit(state - 1);