TRTCSpeedTestResult constructor

TRTCSpeedTestResult(
  1. {bool success = false,
  2. String errMsg = "",
  3. String ip = "",
  4. TRTCQuality quality = TRTCQuality.unknown,
  5. double upLostRate = 0.0,
  6. double downLostRate = 0.0,
  7. int rtt = 0,
  8. int availableUpBandwidth = 0,
  9. int availableDownBandwidth = 0,
  10. int upJitter = 0,
  11. int downJitter = 0}
)

Implementation

TRTCSpeedTestResult({
  this.success = false,
  this.errMsg = "",
  this.ip = "",
  this.quality = TRTCQuality.unknown,
  this.upLostRate = 0.0,
  this.downLostRate = 0.0,
  this.rtt = 0,
  this.availableUpBandwidth = 0,
  this.availableDownBandwidth = 0,
  this.upJitter = 0,
  this.downJitter = 0,
});