bool allows()

in lib/src/version_range.dart [112:124]


  bool allows(Version other) {
    if (min != null) {
      if (other < min!) return false;
      if (!includeMin && other == min) return false;
    }

    if (max != null) {
      if (other > max!) return false;
      if (!includeMax && other == max) return false;
    }

    return true;
  }