LatencyMonitor constructor

LatencyMonitor({
  1. NetworkQualityThresholds thresholds = const NetworkQualityThresholds(),
  2. int historySize = 5,
})

Creates a LatencyMonitor.

Implementation

LatencyMonitor({
  NetworkQualityThresholds thresholds = const NetworkQualityThresholds(),
  this.historySize = 5,
}) : _thresholds = thresholds;