PackageVersionNumberGeneralLibraryUnion.fromRanges constructor
PackageVersionNumberGeneralLibraryUnion.fromRanges()
Creates a union from a list of ranges with no pre-processing.
It's up to the caller to ensure that the invariants described in ranges
are maintained. They are not verified by this constructor. To
automatically ensure that they're maintained, use
PackageVersionNumberGeneralLibraryConstraint.unionOf instead.
Implementation
PackageVersionNumberGeneralLibraryUnion.fromRanges(this.ranges);