getResolvedPackagePath method

Future<String?> getResolvedPackagePath(
  1. String package
)

Get resolved package path

Implementation

Future<String?> getResolvedPackagePath(String package) async {
  var packageConfigMap =
      _packageConfigMap ??= await cachedOrGetPackageConfigMap();

  var packages =
      pathPackageConfigMapGetPackagePath(path, packageConfigMap, package);

  return packages;
}