Asset constructor
Creates a new file-based asset.
Parameters:
id: The unique identifier for this asset.shortUri: A shortened URI that may use package or asset schemes.file: The file that this asset represents.
Implementation
factory Asset({
required String id,
required Uri shortUri,
required File file,
}) = FileAsset;