getCachedPackages method

List<String> getCachedPackages()

Return the list of package names (not versions) that are available in the cache.

Implementation

List<String> getCachedPackages() =>
    new Set<String>.from(getPackageRefs().map((p) => p.name)).toList();