Setting class
Feature flag or setting.
- Annotations
-
- @JsonSerializable()
Constructors
-
Setting(SettingValue settingValue, int type, List<
PercentageOption> percentageOptions, List<TargetingRule> targetingRules, String? variationId, String? percentageAttribute) -
Setting.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- percentageAttribute → String?
-
The User Object attribute which serves as the basis of percentage options evaluation.
final
-
percentageOptions
→ List<
PercentageOption> -
The list of percentage options.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- salt ↔ String?
-
getter/setter pair
-
segments
↔ List<
Segment> -
getter/setter pair
- settingValue → SettingValue
-
Setting value.
Can be a value of the following types: {@link Boolean}, {@link String}, {@link Integer} or {@link Double}.
final
-
targetingRules
→ List<
TargetingRule> -
The list of targeting rules (where there is a logical OR relation between the items).
final
- type → int
-
Setting type.
final
- variationId → String?
-
Variation ID.
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