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 = true)
    class PackageManager
    getBestPackage
  2. Package getBestPackage(string name, string version_spec)

Meta