MemberComponentBloc constructor
MemberComponentBloc({
- MemberRepository? memberRepository,
Implementation
MemberComponentBloc({this.memberRepository})
: super(MemberComponentUninitialized()) {
on<FetchMemberComponent>((event, emit) {
_mapLoadMemberComponentUpdateToState(event.id!);
});
on<MemberComponentUpdated>((event, emit) {
emit(MemberComponentLoaded(value: event.value));
});
}