SelectedVersions.getSelectedVersion

Returns the selection for a particular package.

Note that the returned Dependency can either have the Dependency.path property set to a non-empty value, in which case this is a path based selection, or its Dependency.version_ property is valid and it is a version selection.

  1. Dependency getSelectedVersion(string packageId)
    class SelectedVersions
    deprecated const
    getSelectedVersion
    (
    string packageId
    )
  2. Dependency getSelectedVersion(PackageName name)

Meta