How to manage an enum-typed BLoC event?

Issue I am using these packages for the following codes: flutter_bloc, oxidized, freezed, and get_it tmdb_bloc.dart typedef TmdbState = PageState<List<MovieEntity>>; class TmdbBloc extends Bloc<TmdbEvent, TmdbState> { final TmdbPublicUseCases useCases; TmdbBloc(this.useCases) : super(const PageState.initial()) { on<TmdbEvent>((event, emit) async { event.map( getPopularMovies:

Continue reading