compareTo method

int compareTo(
  1. LogPosition other
)

Compare this to other LogPosition

Implementation

int compareTo(LogPosition other) => this == other
    ? 0
    : this > other
        ? 1
        : -1;