has method

bool has(
  1. String providerId,
  2. String cacheKey
)

Whether a sidecar (and thus a produced asset) exists for cacheKey.

Implementation

bool has(String providerId, String cacheKey) => sidecarFile(providerId, cacheKey).existsSync();