compareTo method

int compareTo(
  1. Object other
)

Implementation

int compareTo(Object other) {
  if (other is num) {
    return value.compareTo(other);
  } else if (other is Breakpoint) {
    return value.compareTo(other.value);
  } else {
    return -1;
  }
}