weightedVariants property

Map<T, int>? weightedVariants
final

All of the variants of this experiment and their weights.

The weights might be used to determine the likelihood of a variant being chosen for a user.

LocalExperimentAdapter uses the weights but not all ExperimentAdapters do.

Implementation

final Map<T, int>? weightedVariants;