CountDownBloc constructor

CountDownBloc({
  1. CountDownState init = const CountDownState(),
})

Implementation

CountDownBloc({CountDownState init = const CountDownState()}):super(init: init) {
  on<CountDownEvent>((event, emit) => emit(CountDownState(value: event.value)));
}