compareTo method

int compareTo(
  1. Rev other
)

Implementation

int compareTo(Rev other) {
  final indexCmp = this.index.compareTo(other.index);
  if (indexCmp != 0) return indexCmp;
  return this.md5.compareTo(other.md5);
}