Activity class

Specifies the configuration and other settings for an activity in a journey.

Constructors

Activity({CustomMessageActivity? custom, ConditionalSplitActivity? conditionalSplit, String? description, EmailMessageActivity? email, HoldoutActivity? holdout, MultiConditionalSplitActivity? multiCondition, PushMessageActivity? push, RandomSplitActivity? randomSplit, SMSMessageActivity? sms, WaitActivity? wait})
Activity.fromJson(Map<String, dynamic> json)
factory

Properties

conditionalSplit ConditionalSplitActivity?
The settings for a yes/no split activity. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
final
custom CustomMessageActivity?
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
final
description String?
The custom description of the activity.
final
email EmailMessageActivity?
The settings for an email activity. This type of activity sends an email message to participants.
final
hashCode int
The hash code for this object.
no setterinherited
holdout HoldoutActivity?
The settings for a holdout activity. This type of activity stops a journey for a specified percentage of participants.
final
multiCondition MultiConditionalSplitActivity?
The settings for a multivariate split activity. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.
final
push PushMessageActivity?
The settings for a push notification activity. This type of activity sends a push notification to participants.
final
randomSplit RandomSplitActivity?
The settings for a random split activity. This type of activity randomly sends specified percentages of participants down one of as many as five paths in a journey, based on conditions that you specify.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sms SMSMessageActivity?
The settings for an SMS activity. This type of activity sends a text message to participants.
final
wait WaitActivity?
The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
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