ExperimentConfig class
Base class for an application's experiment configuration.
Constructors
-
ExperimentConfig(List<
ExperimentAdapter> _adapters, {ExperimentLogger? logger, String? inactiveVariantValue})
Properties
-
activeExperiments
→ List<
Experiment> -
All active experiments.
no setter
-
enabledExperiments
→ List<
Experiment> -
All enabled experiments
no setter
-
experiments
→ Iterable<
AdaptedExperiment> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveVariantValue → String?
-
The variant string value that will be used for inactive experiments in trackingValues.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trackingValues
→ Map<
String, String> -
Returns a mapping of all experiments from their id to their tracking
value.
no setter
Methods
-
init(
) → Future< void> - Initializes all adapters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{bool force = false}) → Future< void> - Updates all updatable adapters.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited