NotificareInbox class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

badge Future<int>
Returns The current badge count, representing the number of unread inbox items.
no setter
items Future<List<NotificareInboxItem>>
Returns a list of all NotificareInboxItem, sorted by the timestamp.
no setter
onBadgeUpdated Stream<int>
Called when the unread message count badge is updated.
no setter
onInboxUpdated Stream<List<NotificareInboxItem>>
Called when the inbox is successfully updated.
no setter

Static Methods

clear() Future<void>
Clears all inbox items, permanently deleting them from the inbox.
markAllAsRead() Future<void>
Marks all inbox items as read.
markAsRead(NotificareInboxItem item) Future<void>
Marks the specified inbox item as read.
open(NotificareInboxItem item) Future<NotificareNotification>
Opens a specified inbox item, marking it as read and returning the associated notification.
refresh() Future<void>
Refreshes the inbox data, ensuring the items and badge count reflect the latest server state.
remove(NotificareInboxItem item) Future<void>
Permanently removes the specified inbox item from the inbox.