ImageCacheInfo class

A snapshot of the state of an Images cache, as reported to the devtools extension.

Constructors

ImageCacheInfo({required int sizeBytes, required int? maxSizeBytes, required List<ImageCacheEntry> entries})
ImageCacheInfo.fromJson(Map<String, dynamic> json)
factory

Properties

entries → List<ImageCacheEntry>
One entry per image in the cache.
final
hashCode → int
The hash code for this object.
no setterinherited
maxSizeBytes → int?
The configured budget of the cache, if any.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → int
The estimated size of all the images in the cache.
final

Methods

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

Operators

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