add notification for messages

This commit is contained in:
hihihaha
2023-08-29 14:32:40 +02:00
parent bc4e4e9b5a
commit e280227ee1
9 changed files with 141 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ class Absence {
DateTime lessonEnd;
int? lessonIndex;
String group;
bool hasSeen;
bool isSeen;
@override
bool operator ==(Object other) =>
identical(this, other) ||
@@ -43,7 +43,7 @@ class Absence {
this.lessonIndex,
required this.group,
this.json,
this.hasSeen = false,
this.isSeen = false,
});
factory Absence.fromJson(Map json) {
@@ -89,7 +89,7 @@ class Absence {
lessonIndex: lessonIndex,
group:
json["OsztalyCsoport"] != null ? json["OsztalyCsoport"]["Uid"] : "",
hasSeen: false,
isSeen: false,
json: json,
);
}