PushNotificationData class

Parsed notification payload delivered by AppAmbit push.

Fields mirror the cross-platform surface used by the .NET SDK (PushNotificationData). Platform-specific extras are exposed via android and ios.

Constructors

PushNotificationData({String? title, String? body, String? imageUrl, Map<String, String>? data, AndroidPushData? android, IosPushData? ios})
const
PushNotificationData.fromMap(Map map)
factory

Properties

android → AndroidPushData?
final
body → String?
final
data → Map<String, String>?
final
hashCode → int
The hash code for this object.
no setterinherited
imageUrl → String?
final
ios → IosPushData?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
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