keyName property

String keyName

The name used to generate the key to obtain the asset. For local assets this is assetName, and for assets from packages the assetName is prefixed 'packages/<package_name>/'.

Implementation

String get keyName => package == null ? assetName : 'packages/$package/$assetName';