AppDNAPushPayload class

AppDNAPushPayload — a delivered push notification the SDK surfaces to the host app (matches the push_payload/action_buttons_parse fixture).

Constructors

AppDNAPushPayload({required String pushId, required String title, String? body, String? imageUrl, List<AppDNAPushAction>? actions})
const
AppDNAPushPayload.fromMap(Map<String, dynamic> map)
factory

Properties

actions → List<AppDNAPushAction>?
Structured notification action buttons registered for this push.
final
body → String?
Notification body text; optional for data-only / title-only pushes.
final
hashCode → int
The hash code for this object.
no setterinherited
imageUrl → String?
Optional rich-media image URL for the expanded notification.
final
pushId → String
Server-assigned push campaign/message id; echoed on push_received / push_tapped events.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
Notification title (post template interpolation).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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