ReferralBloc constructor
ReferralBloc(
- ReferralState initialState, {
- required DataRepository<
ReferralModel, ReferralSearchModel> referralRepository,
Implementation
ReferralBloc(
super.initialState, {
required this.referralRepository,
}) {
on(_handleSubmit);
on(_handleSearch);
}