WeightedRotationStrategy constructor

WeightedRotationStrategy({
  1. required List<Proxy> proxies,
  2. double minWeight = 1.0,
  3. double maxWeight = 10.0,
})

Creates a new WeightedRotationStrategy with the given parameters

Implementation

WeightedRotationStrategy({
  required List<Proxy> proxies,
  this.minWeight = 1.0,
  this.maxWeight = 10.0,
}) : _proxies = List.from(proxies);