PushNotificationMessage class
The Push Notification message that represents both the FCM and APNS Native notification types.
- Mixed in types
Constructors
-
PushNotificationMessage({String? title, String? body, String? imageUrl, String? deeplinkUrl, String? goToUrl, FcmPlatformOptions? fcmOptions, ApnsPlatformOptions? apnsOptions, Map<
String, Object?> data = const {}}) -
The Push Notification message that represents both the FCM and APNS Native notification types.
const
-
PushNotificationMessage.fromJson(Map<
String, Object?> json) -
factory
Properties
- apnsOptions → ApnsPlatformOptions?
-
final
- body → String?
-
final
-
data
→ Map<
String, Object?> -
final
- deeplinkUrl → String?
-
final
- fcmOptions → FcmPlatformOptions?
-
final
- goToUrl → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeTypeName → String
-
The string value of runtimeType, saving a runtime lookup and preventing
obfuscation during web compilation.
no setteroverride
- title → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
this
as a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited