DynamicConfig class

Constructors

DynamicConfig(String name, EvaluationDetails details, [Map<String, dynamic> value = const {}, String? groupName, List secondaryExposures = const [], bool isExperimentActive = false, bool passed = false, String? ruleID, String idType = ""])

Properties

details ↔ EvaluationDetails
Metadata about how this value was recieved.
getter/setter pair
groupName → String?
final
hashCode → int
The hash code for this object.
no setterinherited
idType → String
final
isExperimentActive → bool
final
name → String
The name of this DynamicConfig
final
passed → bool
final
ruleID → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryExposures → List
final
value ↔ Map<String, dynamic>
The loaded values of this DynamicConfig for the current user.
getter/setter pair

Methods

get<T>(String key, [T? defaultValue]) → T?
Gets a value from the DynamicConfig
getArray(String key, [List? defaultValue]) → List?
getObject(String key, [Map<String, dynamic>? defaultValue]) → Map<String, dynamic>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

empty(String name, EvaluationDetails details) → dynamic