BeaconsConfiguration constructor

const BeaconsConfiguration({
  1. int measuredPower = -57,
  2. int environmentalFactor = 2,
  3. double advertisementInterval = 0.3,
})

Implementation

const BeaconsConfiguration(
    {this.measuredPower = -57,
    this.environmentalFactor = 2,
    this.advertisementInterval = 0.3})
    : assert(measuredPower < 0, 'measuredPower cannot be greater than 0'),
      assert(environmentalFactor >= 2,
          'environmentalFactor cannot be less than 2'),
      assert(advertisementInterval >= 0.1,
          'advertisementInterval cannot be less than 0.1');