ApptimizeTestInfo class
Information about a single A/B test or feature flag this device is enrolled in.
Constructors
- ApptimizeTestInfo(String testName, String enrolledVariantName, int testId, int enrolledVariantId, DateTime testStartedDate, DateTime testEnrolledDate, int cycle, int currentPhase, int participationPhase, bool userHasParticipated, String? userId, String anonymousUserId, ApptimizeExperimentType experimentType)
-
const
Properties
- anonymousUserId → String
-
The anonymous user id currently assigned to this apptimize instance.
final
- currentPhase → int
-
The current phase of this test.
final
- cycle → int
-
The cycle id of this test.
final
- enrolledVariantId → int
-
The unique numeric id of the currently enrolled test variant.
final
- enrolledVariantName → String
-
The name of the variant of the test that this device is enrolled in.
final
- experimentType → ApptimizeExperimentType
-
The experiment type this test info represents.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- participationPhase → int
-
The first phase in which this device participated in this test for this
cycle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testEnrolledDate → DateTime
-
The date this device was enrolled into this test.
final
- testId → int
-
The unique numeric id of the test.
final
- testName → String
-
The name of the test.
final
- testStartedDate → DateTime
-
The date this Apptimize test was started.
final
- userHasParticipated → bool
-
Has the user participated in this test in this cycle since enrollment.
final
- userId → String?
-
The user id of the currently enrolled user.
final
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