20 lines
352 B
Dart
20 lines
352 B
Dart
|
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);
|
||
|
}
|