NotificationService class

Utility class to handle and show notifications

Constructors

NotificationService()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

getAndStoreMessage(String messageId) Future<GetMessageResponse>
Gets the message using the client and stores it in the offline storage It returns an object containing the information about the message and the channel
getMessage(String messageId) Future<GetMessageResponse>
Gets the message using the client without storing it in the offline storage It returns an object containing the information about the message and the channel
handleIosMessageQueue(Client client) Future<void>
Handles the ios message queue generated by the Notification Service Extension
storeMessage(GetMessageResponse messageResponse) Future<void>
Stores the message in the offline storage