assetForUri abstract method
Creates an Asset object for the specified URI.
An Asset represents a file in the build system with additional metadata.
@param uri The URI to create an asset for @param relativeTo An optional base asset for resolving relative URIs @return The Asset object for the URI @throws AssetUriError if the asset cannot be created
Implementation
Asset assetForUri(Uri uri, {Asset? relativeTo});