BaseRolloutStrategy constructor

BaseRolloutStrategy({
  1. String? id,
  2. int? percentage,
  3. List<String>? percentageAttributes,
  4. dynamic value,
  5. List<BaseRolloutStrategyAttribute>? attributes,
})

Implementation

BaseRolloutStrategy(
    {this.id,
    this.percentage,
    List<String>? percentageAttributes,
    this.value,
    List<BaseRolloutStrategyAttribute>? attributes})
    : this.percentageAttributes = percentageAttributes ?? [],
      this.attributes = attributes ?? [];