statistics property

VolumeStatistics get statistics

Gets statistics about the volume history.

Implementation

VolumeStatistics get statistics {
  return VolumeStatistics(
    current: _currentSmoothedVolume,
    average: averageVolume,
    peak: peakVolume,
    minimum: minimumVolume,
    historySize: _volumeHistory.length,
    smoothingFactor: smoothingFactor,
  );
}