19 lines
407 B
Dart
19 lines
407 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class NotificationEvent extends Equatable {
|
|
const NotificationEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class LoadNotificationsRequested extends NotificationEvent {}
|
|
|
|
class NotificationMarkedAsRead extends NotificationEvent {
|
|
final String id;
|
|
const NotificationMarkedAsRead(this.id);
|
|
|
|
@override
|
|
List<Object> get props => [id];
|
|
}
|