Setting class

Describes a ConfigCat Feature Flag / Setting

Annotations
  • @JsonSerializable()

Constructors

Setting(dynamic value, int type, List<RolloutPercentageItem> percentageItems, List<RolloutRule> rolloutRules, String variationId)
Setting.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
percentageItems List<RolloutPercentageItem>
Collection of percentage rules that belongs to the feature flag / setting.
final
rolloutRules List<RolloutRule>
Collection of targeting rules that belongs to the feature flag / setting.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
Type of the feature flag / setting.
final
value → dynamic
Value of the feature flag / setting.
final
variationId String
Variation ID (for analytical purposes).
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