Dependency constructor

Dependency(
  1. String name,
  2. String versionConstraint,
  3. bool isDevDependency
)

Implementation

Dependency(this.name, String versionConstraint, this.isDevDependency)
    : versionConstraint = _parseOrNull(versionConstraint);