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

Meta