TF-2461 Fix warning when run dart analyze

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-01-26 08:35:07 +07:00
committed by Dat H. Pham
parent 72dc821963
commit 3878400fbf
4 changed files with 13 additions and 11 deletions
@@ -15,7 +15,7 @@ extension MailboxExtension on Mailbox {
unreadEmails: unreadEmails?.value.value.round(),
totalThreads: totalThreads?.value.value.round(),
unreadThreads: unreadThreads?.value.value.round(),
myRights: myRights != null ? myRights!.toMailboxRightsCache() : null,
myRights: myRights?.toMailboxRightsCache(),
isSubscribed: isSubscribed?.value,
namespace: namespace?.value
);