canRead method

  1. @override
Future<bool> canRead(
  1. AssetId id
)

Indicates whether asset at id is readable.

Implementation

@override
Future<bool> canRead(AssetId id) =>
    _descriptorPool.withResource(() => _fileFor(id, packageGraph).exists());