NotificationPort class abstract
Port for sending notifications.
- Implementers
Constructors
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
-
cancel(
String notificationId) → Future< bool> - Cancel a pending notification.
-
getHistory(
{String? recipientId, NotificationType? type, DateTime? since, int limit = 100}) → Future< List< NotificationRecord> > - Get notification history for a recipient.
-
getStatus(
String notificationId) → Future< NotificationStatus> - Get the status of a sent notification.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
Notification notification) → Future< NotificationResult> - Send a single notification.
-
notifyBatch(
List< Notification> notifications) → Future<List< NotificationResult> > - Send multiple notifications.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited