ABTestHelper class
A/B test helper
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
createMultivariateTest<
T> ({required String id, required String name, required Map< String, T> variants, Map<String, double> ? weights}) → ABExperiment<T> - Create multivariate test
-
createSimpleTest<
T> ({required String id, required String name, required T controlValue, required T treatmentValue}) → ABExperiment< T> - Create simple A/B test (50/50 split)
-
createTimeLimitedTest<
T> ({required String id, required String name, required List< ABVariant< variants, required DateTime startDate, required DateTime endDate}) → ABExperiment<T> >T> - Create time-limited test