ChatMemberInfoComponentBloc constructor

ChatMemberInfoComponentBloc({
  1. ChatMemberInfoRepository? chatMemberInfoRepository,
})

Implementation

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