ControllerBloc constructor

ControllerBloc({
  1. required ApiRepository apiRepository,
})

Implementation

ControllerBloc({
  required this.apiRepository,
}) : super(ControllerState.initial()) {
  on<ControllerCreateEvent>(_onCreateApplication);
  on<ControllerMyIdEvent>(_onMyId);
  on<ControllerApplicationEvent>(_onApplication);
}