matches method

bool matches(
  1. Version version
)

True if a version match the boundaries

Implementation

bool matches(Version version) {
  return matchesMin(version) && matchesMax(version);
}