Contains information about an asset.
- hashCode → int
The hash code for this object.
- key → String
The asset's key, which is the path to the asset specified in the pubspec.yaml
file at build time.
- main → bool
Whether or not this is a main asset. In other words, this is true if
this asset is not a variant of another asset.
- runtimeType → Type
A representation of the runtime type of the object.
- targetDevicePixelRatio → double?
The device pixel ratio that this asset is most ideal for. This is determined
by the name of the parent folder of the asset file. For example, if the
parent folder is named "3.0x", the target device pixel ratio of that
asset will be interpreted as 3.