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.
getter/setter pair
completedResourceSize int
The cumulative size, in bytes, of all resources 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 have been fully downloaded from the network.
getter/setter pair
loadedResourceSize int
The cumulative size, in bytes, of all resources that have been fully downloaded from the network.
getter/setter pair
requiredResourceCount int
The number of resources that are known to be required for this style package.
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) StylePackLoadProgress