TileCacheEntry class

An entry in the tile cache index, representing metadata for a single cached tile.

All timestamps are UTC.

Constructors

TileCacheEntry({required TileKey key, required int sizeBytes, required DateTime fetchedAt, required DateTime lastAccessedAt})
const

Properties

fetchedAt DateTime
The UTC time at which the tile was first fetched from the network.
final
hashCode int
The hash code for this object.
no setterinherited
key TileKey
The tile this entry describes.
final
lastAccessedAt DateTime
The UTC time at which the tile was last accessed (read from cache).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes int
The size of the stored (compressed) tile data, in bytes.
final

Methods

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

Operators

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