file method

  1. @override
DVAssetFile? file(
  1. String path
)
override

The file at path -- relative, with /, as dvAssetPath returns it -- or null when there is none. A directory is not a file.

Implementation

@override
DVAssetFile? file(String path) {
  final DVPackedAsset? asset = pack['$prefix$path'];
  return asset == null ? null : _PackedFile(path, pack, asset);
}