assetBytes method
Returns the current bytes for the asset at path
.
The path
should be exactly as it appears in the
CompileResult.jsManifestOutput file.
Note: Assets are not updated until accept
is called after a
successful compile. They are not updated if reject
is called.
Returns null
if no asset exists at path
.
In addition to any DDC compiled assets, this serves
Implementation
Uint8List? assetBytes(String path) => _assets[path];