PackageVersionNumberGeneralLibraryConstraint.compatibleWith constructor
PackageVersionNumberGeneralLibraryConstraint.compatibleWith()
Creates a version constraint which allows all versions that are
backward compatible with version
.
PackageVersionNumberGeneralLibrarys are considered backward compatible with version
if they
are greater than or equal to version
, but less than the next breaking
version (PackageVersionNumberGeneralLibrary.nextBreaking) of version
.
Implementation
factory PackageVersionNumberGeneralLibraryConstraint.compatibleWith(
PackageVersionNumberGeneralLibrary version) =>
CompatibleWithPackageVersionNumberGeneralLibraryRange(version);