intersect method Null safety

VersionConstraint intersect (
  1. VersionConstraint other
)

Returns a VersionConstraint that only allows Versions allowed by both this and other.

Implementation

VersionConstraint intersect(VersionConstraint other);