HoldoutActivity class

Specifies the settings for a holdout activity in a journey. This type of activity stops a journey for a specified percentage of participants.

Constructors

HoldoutActivity({required int percentage, String? nextActivity})
HoldoutActivity.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
nextActivity String?
The unique identifier for the next activity to perform, after performing the holdout activity.
final
percentage int
The percentage of participants who shouldn't continue the journey.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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