total property

ByteConverter get total

Total accumulated bytes.

Implementation

ByteConverter get total {
  if (_samples.isEmpty) return ByteConverter(0);
  return _samples.reduce((a, b) => a + b);
}