InMemoryAssetReader.shareAssetCache constructor

InMemoryAssetReader.shareAssetCache(
  1. Map<AssetId, List<int>> assets,
  2. {String? rootPackage}
)

Create a new asset reader backed by assets.

Implementation

InMemoryAssetReader.shareAssetCache(this.assets, {this.rootPackage});