ReactionParentBloc constructor
ReactionParentBloc()
Implementation
ReactionParentBloc() : super(const ReactionParentState(key: Key(''))) {
on<LongPress>(
(event, emit) {
if (state.key == event.key) return;
emit(ReactionParentState(key: event.key));
},
);
on<ResetActiveKey>(
(event, emit) => emit(const ReactionParentState(key: null)),
);
}