intersect method
Returns a PackageVersionNumberGeneralLibraryConstraint that only allows PackageVersionNumberGeneralLibrarys allowed by both
this and other
.
Implementation
@override
PackageVersionNumberGeneralLibraryConstraint intersect(
PackageVersionNumberGeneralLibraryConstraint other) =>
other.allows(this)
? this
: PackageVersionNumberGeneralLibraryConstraint.empty;