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.
getter/setter pair
completedResourceSize int
The cumulative size, in bytes, of all resources (inclusive of tiles) that have been fully downloaded.
getter/setter pair
expires int?
The earliest point in time when any of the region resources gets expired.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The id of the tile region
getter/setter pair
requiredResourceCount int
The number of resources that are known to be required for this tile region.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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