CacheStatistics

Statistics of cached files.

class CacheStatistics {
  const CacheStatistics({this.fileSize, this.cacheSize, this.downloadSize});

  @JsonKey(name: 'fileSize')
  final int? fileSize;

  @JsonKey(name: 'cacheSize')
  final int? cacheSize;

  @JsonKey(name: 'downloadSize')
  final int? downloadSize;

  factory CacheStatistics.fromJson(Map<String, dynamic> json) =>
      _$CacheStatisticsFromJson(json);

  Map<String, dynamic> toJson() => _$CacheStatisticsToJson(this);
}

Properties

fileSize
Size of the media file for this playback, in bytes.
cacheSize
Size of the cached data of the media file for this playback, in bytes.
downloadSize
Size of the downloaded media file for this playback, in bytes.