PIbd-31_MasenkinMS_PMU/lib/view/reaction_bloc/reaction_event.dart

20 lines
352 B
Dart
Raw Normal View History

2024-10-02 02:39:17 +04:00
abstract class ReactionEvent {
const ReactionEvent();
}
class LoadReactionsEvent extends ReactionEvent {
const LoadReactionsEvent();
}
class ChangeLikeEvent extends ReactionEvent {
final String id;
const ChangeLikeEvent(this.id);
}
class ChangeDislikeEvent extends ReactionEvent {
final String id;
const ChangeDislikeEvent(this.id);
}