PushNotificationReceived class final

Push notification received state

Inheritance

Constructors

PushNotificationReceived.new({required NotificationData data})
Push notification received state
const
PushNotificationReceived.fromFields({required String title, required String body, required PushNotificationPayload payload, String? linkMobile})
Creates a received state from individual notification fields
factory

Properties

data NotificationData
Notification data
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the state to a JSON map.
override
toOpenedEvent() DidUserOpenedNotificationEvent
Converts to opened notification event
toString() String
A string representation of this object.
inherited

Operators

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