StylePack class

The style pack represents a stored style package.

Constructors

StylePack({required String styleURI, required GlyphsRasterizationMode glyphsRasterizationMode, 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 that have been fully downloaded.
getter/setter pair
expires ↔ int?
The earliest point in time when any of the style package resources gets expired.
getter/setter pair
glyphsRasterizationMode ↔ GlyphsRasterizationMode
The glyphs rasterization mode of the style package.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
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
styleURI ↔ String
The style associated with the style package.
getter/setter pair

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.
override

Static Methods

decode(Object result) → StylePack