pathToHosted property
String
pathToHosted
Path to the pub cache hosted directory Prior to Dart 2.19: hosted/pub.dartlang.org From Dart 2.19: this changed to hosted/pub.dev
Implementation
String get pathToHosted => truepath(_pubCachePath, 'hosted', 'pub.dev');