RolloutStrategy constructor

RolloutStrategy({
  1. String? id,
  2. required String name,
  3. int? percentage,
  4. List<String>? percentageAttributes,
  5. int? colouring,
  6. String? avatar,
  7. dynamic value,
  8. List<RolloutStrategyAttribute>? attributes,
})

Implementation

RolloutStrategy({
  this.id,
  required this.name,
  this.percentage,
  List<String>? percentageAttributes,
  this.colouring,
  this.avatar,
  this.value,
  List<RolloutStrategyAttribute>? attributes,
})  : this.percentageAttributes = percentageAttributes ?? [],
      this.attributes = attributes ?? [];