invalidateDigest method

void invalidateDigest(
  1. String assetId
)

Invalidates the digest of an asset, forcing it to be reprocessed.

assetId is the ID of the asset to invalidate.

Implementation

void invalidateDigest(String assetId) {
  if (assets.containsKey(assetId)) {
    assets[assetId]![GraphIndex.assetDigest] = null;
  }
}