CacheStatistics
- Flutter
更新时间不可用
缓存文件的统计数据。
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);
}