FeatureRolloutStrategy constructor

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

Implementation

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