29 lines
502 B
Dart
29 lines
502 B
Dart
import 'package:event_bus_plus/event_bus_plus.dart';
|
|
|
|
class FollowAppEvent extends AppEvent {
|
|
FollowAppEvent(this.username, {String? id});
|
|
|
|
final String username;
|
|
|
|
@override
|
|
List<Object?> get props => [username];
|
|
}
|
|
|
|
class NewComment extends AppEvent {
|
|
NewComment(this.text, {String? id});
|
|
|
|
final String text;
|
|
|
|
@override
|
|
List<Object?> get props => [text];
|
|
}
|
|
|
|
class UrlEvent extends AppEvent {
|
|
UrlEvent(this.url);
|
|
|
|
final String url;
|
|
|
|
@override
|
|
List<Object?> get props => [url];
|
|
}
|