difference method
override
Returns a VersionConstraint that allows Versions allowed by this but
not other
.
Implementation
VersionConstraint difference(VersionConstraint other) =>
other.allows(this) ? VersionConstraint.empty : this;
Returns a VersionConstraint that allows Versions allowed by this but
not other
.
VersionConstraint difference(VersionConstraint other) =>
other.allows(this) ? VersionConstraint.empty : this;