PushNotificationOpened class final
Push notification opened state
- Inheritance
-
- Object
- PushNotificationState
- PushNotificationOpened
Constructors
- PushNotificationOpened.new({required NotificationData data})
-
Push notification opened state
const
- PushNotificationOpened.fromFields({required String title, required String body, required PushNotificationPayload payload, String? linkMobile})
-
Creates an opened 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited