Receives exposure events when a user is exposed to a variant.
Implement this interface and pass it to ExperimentConfig.trackingProvider to receive exposure tracking callbacks. Typically used to forward exposures to an analytics provider.
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
-
track(
Exposure exposure) → void - Called when a user is exposed to a flag variant.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited