invalidate method

void invalidate(
  1. String key
)

Removes a cached compilation unit for the given key.

@param key The identifier for the compilation unit to invalidate

Implementation

void invalidate(String key) {
  _cache.remove(key);
}