DidReceivedNotificationEvent class final

Event triggered when a push notification is received in the foreground.

This event is fired when the app is open and actively running, and a notification arrives. It allows the app to display in-app notification UI.

Inheritance

Constructors

DidReceivedNotificationEvent({required String title, required String body, required PushNotificationPayload payload, String? linkMobile})
Creates a notification received event with the given notification data.

Properties

body String
The notification body text
final
hashCode int
The hash code for this object.
no setterinherited
linkMobile String?
Optional deep link URL for mobile navigation
final
payload PushNotificationPayload
Additional notification data payload
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
title String
The notification title text
final

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