MemberHasChatComponentBloc constructor
MemberHasChatComponentBloc({
- MemberHasChatRepository? memberHasChatRepository,
Implementation
MemberHasChatComponentBloc({this.memberHasChatRepository})
: super(MemberHasChatComponentUninitialized()) {
on<FetchMemberHasChatComponent>((event, emit) {
_mapLoadMemberHasChatComponentUpdateToState(event.id!);
});
on<MemberHasChatComponentUpdated>((event, emit) {
emit(MemberHasChatComponentLoaded(value: event.value));
});
}