pubCachePath property
String
get
pubCachePath
The pub cache.
Implementation
String get pubCachePath {
final override = environmentValue('PUB_CACHE');
if (override != null) {
return override;
}
if (isWindows) {
return _context.join(
_requireEnvironmentValue('LOCALAPPDATA'),
'Pub',
'Cache',
);
}
return _context.join(homePath, '.pub-cache');
}