NotificationsImpl class

Inheritance

Constructors

NotificationsImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterInitialization() → void
inherited
beforeInitialization() → void
inherited
decryptNotification(Map notification) Future<Map>
The function decrypts a notification and returns it.
handleMethod(MethodCall call) → void
This function handles a specific method call and invokes a listener method if it matches certain criteria.
handleNotification(Map notification) Future<bool>
This function handles a notification and returns a boolean value indicating whether the notification was successfully handled.
handleNotificationClick(Map notification) Future<bool>
This function handles a notification click and returns a boolean value.
isNotificationEncrypted(Map notification) Future<bool>
The function checks if a notification is encrypted.
isSilentCommand(Map notification) Future<bool>
The function isSilentCommand checks if a notification is a silent command.
isSilentSDKCommand(Map notification) Future<bool>
The function checks if a given notification is a silent SDK command.
isSyneriseNotification(Map notification) Future<bool>
The function isSyneriseNotification checks if a given notification is a Synerise notification.
isSyneriseSimplePush(Map notification) Future<bool>
The function checks if a given notification is a Synerise Simple Push notification.
listener(NotificationsListenerFunction listenerFunction) → void
This function takes a listener function as a parameter and calls it with a private listener function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerForNotifications(String registrationToken, {bool? mobileAgreement, required void onSuccess(), required void onError(SyneriseError error)}) Future<void>
This function registers a device for notifications with a given registration token and mobile agreement.
toString() String
A string representation of this object.
inherited

Operators

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