AssetResource constructor

const AssetResource(
  1. String assetName, {
  2. String? packageName,
})

Creates an object to hold the asset resource’s metadata.

Implementation

const AssetResource(this.assetName, {this.packageName});