packetsLostPercent property

double get packetsLostPercent

Implementation

double get packetsLostPercent {
  if (packetsLost == null || packetsSent == null || packetsLost == 0) {
    return 0;
  }

  return packetsSent! / packetsLost!;
}