defaultVersionConstraint property
String
get
defaultVersionConstraint
A constraint that the running dpk satisfies, including pre-releases.
Implementation
static String get defaultVersionConstraint => dpkVersion.isPreRelease
? '^$dpkVersion'
: '^${dpkVersion.major}.${dpkVersion.minor}.0';