operator < method

bool operator <(
  1. dynamic other
)

Implementation

bool operator <(other) {
  if (other is ListPointer) {
    if (identical(base, other.base)) {
      return offset < other.offset;
    }
  } else if (other is List) {
    if (identical(base, other)) {
      return offset < 0;
    }
  }

  return false;
}