ChatMemberInfoComponentBloc constructor
ChatMemberInfoComponentBloc({
- ChatMemberInfoRepository? chatMemberInfoRepository,
Implementation
ChatMemberInfoComponentBloc({this.chatMemberInfoRepository})
: super(ChatMemberInfoComponentUninitialized()) {
on<FetchChatMemberInfoComponent>((event, emit) {
_mapLoadChatMemberInfoComponentUpdateToState(event.id!);
});
on<ChatMemberInfoComponentUpdated>((event, emit) {
emit(ChatMemberInfoComponentLoaded(value: event.value));
});
}