Experiment<T> class
abstract
An A/B test experiment, that defines whether the user is part of the experiment and what variant has been assigned to them.
- Implementers
Constructors
Properties
- active → bool
-
Whether this experiment is active.
no setter
- defaultVariant → T
-
The default value for users that are not part of this experiment.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of this experiment.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackingValue → String
-
The representation of the value that should be used for tracking in
analytics tools.
no setter
- value → T
-
The value of this experiment.
no setter
Methods
-
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