keyName property Null safety

String keyName

The key to use to obtain the resource from the bundle. This is the argument passed to AssetBundle.load.

Implementation

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