CacheStats class

缓存统计信息

Constructors

CacheStats({required int totalItems, required int totalSize, required int expiredItems, DateTime? oldestItem, DateTime? newestItem})

Properties

expiredItems int
过期项数
final
hashCode int
The hash code for this object.
no setterinherited
newestItem DateTime?
最新项时间
final
oldestItem DateTime?
最旧项时间
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalItems int
总项数
final
totalSize int
总大小(字节)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited