PackageManager.getBestPackage

Searches for the latest version of a package matching the given dependency.

  1. Package getBestPackage(string name, Dependency version_spec, bool enable_overrides)
    class PackageManager
    getBestPackage
  2. Package getBestPackage(string name, string version_spec)

Meta