PushMessageActivity class

Specifies the settings for a push notification activity in a journey. This type of activity sends a push notification to participants.

Constructors

PushMessageActivity({JourneyPushMessage? messageConfig, String? nextActivity, String? templateName, String? templateVersion})
PushMessageActivity.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
messageConfig JourneyPushMessage?
Specifies the time to live (TTL) value for push notifications that are sent to participants in a journey.
final
nextActivity String?
The unique identifier for the next activity to perform, after the message is sent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
templateName String?
The name of the push notification template to use for the message. If specified, this value must match the name of an existing message template.
final
templateVersion String?
The unique identifier for the version of the push notification template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
final

Methods

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

Operators

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