TicketBloc constructor

TicketBloc()

Implementation

TicketBloc() : super(const UnTicketState()) {
  on<GetTicketCategoryEvent>(_mapGetTicketCategoryToState);
  on<SubmitTicketEvent>(_mapSubmitTicketToState);
  // on<UploadImageEvent>(_mapUploadImageToState);
  on<UploadImageEvent>(_mapUploadImageToState);
  on<UploadImageBytesEvent>(_mapUploadImageBytesToState);
}