TF-145 Add data layer for getAllEmail in Caching

This commit is contained in:
dab246
2021-10-07 15:02:07 +07:00
committed by Dat H. Pham
parent 3cac5e4e83
commit bfd5901bf4
16 changed files with 524 additions and 22 deletions
@@ -48,6 +48,9 @@ class EmailCache extends HiveObject with EquatableMixin {
@HiveField(12)
final List<EmailAddressHiveCache>? replyTo;
@HiveField(13)
Map<String, bool>? mailboxIds;
EmailCache(
this.id,
{
@@ -63,6 +66,7 @@ class EmailCache extends HiveObject with EquatableMixin {
this.cc,
this.bcc,
this.replyTo,
this.mailboxIds,
}
);
@@ -80,6 +84,7 @@ class EmailCache extends HiveObject with EquatableMixin {
sentAt,
replyTo,
preview,
hasAttachment
hasAttachment,
mailboxIds,
];
}