mirror of
https://github.com/Iconica-Development/flutter_notification_center.git
synced 2025-05-19 09:03:45 +02:00
27 lines
417 B
Dart
27 lines
417 B
Dart
|
enum ScheduleType {
|
||
|
minute,
|
||
|
daily,
|
||
|
weekly,
|
||
|
monthly,
|
||
|
}
|
||
|
|
||
|
class NotificationModel {
|
||
|
NotificationModel({
|
||
|
this.id,
|
||
|
required this.title,
|
||
|
required this.body,
|
||
|
required this.dateTime,
|
||
|
required this.isRead,
|
||
|
this.isScheduled = false,
|
||
|
this.scheduledFor,
|
||
|
});
|
||
|
|
||
|
int? id;
|
||
|
String title;
|
||
|
String body;
|
||
|
DateTime dateTime;
|
||
|
bool isRead;
|
||
|
bool isScheduled;
|
||
|
ScheduleType? scheduledFor;
|
||
|
}
|