NotificationService class abstract

Constructors

NotificationService()

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

fetch(String notificationId) Future<AtNotification>
Returns the AtNotification of the given notificationId
getStatus(String notificationId) Future<NotificationResult>
Returns the status of the given notificationId
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(NotificationParams notificationParams, {bool waitForFinalDeliveryStatus = true, bool checkForFinalDeliveryStatus = true, dynamic onSuccess(NotificationResult)?, dynamic onError(NotificationResult)?, dynamic onSentToSecondary(NotificationResult)?}) Future<NotificationResult>
Sends notification to notificationParams.atKey.sharedWith atSign.
stopAllSubscriptions() → void
Stops all subscriptions on the current instance
subscribe({String? regex, bool shouldDecrypt}) Stream<AtNotification>
Gives back stream of notifications from the server to the subscribing client.
toString() String
A string representation of this object.
inherited

Operators

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