matchesMin method

bool matchesMin(
  1. Version version
)

True if a version match the min boundary.

Implementation

bool matchesMin(Version version) {
  if (min != null) {
    if (min!.include) {
      if (version < min!.value) {
        return false;
      }
    } else if (version <= min!.value) {
      return false;
    }
  }
  return true;
}