compareTo method

int compareTo(
  1. CacheVersion other
)

Compares CacheVersion with other

Implementation

int compareTo(CacheVersion other) {
  final otherVersion = assignVersionWeight(other.name);
  return compareSemver(versionWeight, otherVersion);
}