UserCondition class

Describes a condition that is based on a User Object attribute.

Annotations
  • @JsonSerializable()

Constructors

UserCondition(String comparisonAttribute, int comparator, String? stringValue, double? doubleValue, List<String>? stringArrayValue)
UserCondition.fromJson(Map<String, dynamic> json)
factory

Properties

comparator int
The operator which defines the relation between the comparison attribute and the comparison value.
final
comparisonAttribute String
The User Object attribute that the condition is based on. Can be "Identifier", "Email", "Country" or any custom attribute.
final
doubleValue double?
The Double value that the User Object attribute is compared or {@code null} if the comparator use a different type of value.
final
hashCode int
The hash code for this object.
no setterinherited
prerequisiteFlagCondition PrerequisiteFlagCondition?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentCondition SegmentCondition?
no setter
stringArrayValue List<String>?
The String Array value that the User Object attribute is compared or {@code null} if the comparator use a different type of value.
final
stringValue String?
The String value that the User Object attribute is compared or {@code null} if the comparator use a different type of value.
final
userCondition UserCondition?
no setter

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