ExperimentConfig class
Constructors
-
ExperimentConfig({String? id, ExperimentKind? kind, List<
ExperimentCondition> ? distribution, List<UserEventFrequencyCondition> ? eventFrequencyConditions, ExperimentVariant? baseline, List<ExperimentVariant> ? variants, int? seed, ExperimentFrequency? frequency, DateTime? startedAt, DateTime? endedAt})
Properties
- baseline → ExperimentVariant?
-
final
-
distribution
→ List<
ExperimentCondition> ? -
final
- endedAt → DateTime?
-
final
-
eventFrequencyConditions
→ List<
UserEventFrequencyCondition> ? -
final
- frequency → ExperimentFrequency?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- kind → ExperimentKind?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seed → int?
-
final
- startedAt → DateTime?
-
final
-
variants
→ List<
ExperimentVariant> ? -
final
Methods
-
encode(
) → 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
-
decode(
dynamic json) → ExperimentConfig?