mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-18 21:38:48 +00:00
Diplay the number of unread notifications / conversations
This commit is contained in:
14
lib/models/count_unread_notifications.dart
Normal file
14
lib/models/count_unread_notifications.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
/// Count the number of unread notifications
|
||||
///
|
||||
/// @author Pierre Hubert
|
||||
|
||||
class CountUnreadNotifications {
|
||||
final int notifications;
|
||||
final int conversations;
|
||||
|
||||
CountUnreadNotifications({
|
||||
this.notifications,
|
||||
this.conversations,
|
||||
}) : assert(notifications != null),
|
||||
assert(conversations != null);
|
||||
}
|
Reference in New Issue
Block a user