StylePackLoadProgress class

A style pack load progress includes information about the number of resources that have completed downloading and the total number of resources that are required.

Constructors

StylePackLoadProgress({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.
read / write
completedResourceSize int
The cumulative size, in bytes, of all resources that are ready for offline access.
read / write
erroredResourceCount int
The number of resources that have failed to download due to an error.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
loadedResourceCount int
The number of resources that have been fully downloaded from the network.
read / write
loadedResourceSize int
The cumulative size, in bytes, of all resources that have been fully downloaded from the network.
read / write
requiredResourceCount int
The number of resources that are known to be required for this style package.
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) StylePackLoadProgress