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