bandwidthIn property

int get bandwidthIn

Returns total bytes received by the P2P node since it started.

Returns 0 if metrics collection is disabled or the node is offline.

Implementation

int get bandwidthIn {
  final collector = metricsCollector;
  if (collector == null) return 0;
  return collector.totalBytesReceived;
}