url property

PubspecEntry? get url

PubspecEntry for url: https://... or git: https://, where PubspecEntry.key is either url or git, and PubspecEntry.key is the URL.

If the git-dependency is given in the form:

dependencies:
  foo:
    git:       https://github.com/example/example

Then token and url.key will be the same object.

Implementation

PubspecEntry? get url;