TileRegion class

TileRegion represents an identifiable geographic tile region with metadata

Constructors

TileRegion({required String id, required int requiredResourceCount, required int completedResourceCount, required int completedResourceSize, int? expires})

Properties

completedResourceCount int
The number of resources that have been fully downloaded and are ready for offline access.
read / write
completedResourceSize int
The cumulative size, in bytes, of all resources (inclusive of tiles) that have been fully downloaded.
read / write
expires int?
The earliest point in time when any of the region resources gets expired.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
The id of the tile region
read / write
requiredResourceCount int
The number of resources that are known to be required for this tile region.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

encode() Object
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

Static Methods

decode(Object result) TileRegion