Sync update: 2026-05-19 23:27:14

This commit is contained in:
Hamza-Ayed
2026-05-19 23:27:14 +03:00
parent 1eec712c58
commit 22f1bba6ac
11 changed files with 1090 additions and 593 deletions

View File

@@ -3,12 +3,14 @@ class LastMessageModel {
final int timestamp;
final bool fromMe;
final bool hasMedia;
final int ack;
LastMessageModel({
required this.body,
required this.timestamp,
required this.fromMe,
required this.hasMedia,
required this.ack,
});
factory LastMessageModel.fromJson(Map<String, dynamic> json) {
@@ -17,6 +19,7 @@ class LastMessageModel {
timestamp: json['timestamp'] ?? 0,
fromMe: json['fromMe'] ?? false,
hasMedia: json['hasMedia'] ?? false,
ack: json['ack'] ?? 0,
);
}
@@ -26,6 +29,7 @@ class LastMessageModel {
'timestamp': timestamp,
'fromMe': fromMe,
'hasMedia': hasMedia,
'ack': ack,
};
}
}