SortingBloc constructor

SortingBloc({
  1. required ISortingMapper sortingMapper,
})

Implementation

SortingBloc({
  required this.sortingMapper,
}) : super(const SortingState()) {
  on<_Started>(_onStarted);
  on<_SortingSelected>(_onSortingSelected);
  on<_ApplyButtonPressed>(_onApplyButtonPressed);
}