get method

CompilationUnit? get(
  1. String key
)

Retrieves a cached compilation unit for the given key.

@param key The identifier for the cached compilation unit @return The cached compilation unit, or null if not found

Implementation

CompilationUnit? get(String key) => _cache[key];