TileRegionLoadProgress class

A tile region's load progress includes counts of the number of resources that have completed downloading and the total number of resources that are required.

Constructors

TileRegionLoadProgress({required int completedResourceCount, required int completedResourceSize, required int erroredResourceCount, required int requiredResourceCount, required int loadedResourceCount, required int loadedResourceSize})

Properties

completedResourceCount int
The number of resources that are ready for offline access.
getter/setter pair
completedResourceSize int
The cumulative size, in bytes, of all resources (inclusive of tiles) that are ready for offline access.
getter/setter pair
erroredResourceCount int
The number of resources that have failed to download due to an error.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
loadedResourceCount int
The number of resources that are ready for offline use and that (at least partially) have been downloaded from the network.
getter/setter pair
loadedResourceSize int
The cumulative size, in bytes, of all resources (inclusive of tiles) that have been downloaded from the network.
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) TileRegionLoadProgress