indexOf method

int indexOf(
  1. int? value
)

Implementation

int indexOf(int? value) {
  if (value == null) return -1;
  if (items != null) return items!.indexOf(value);
  if (value < begin || value > end) return -1;
  return (value - begin) ~/ (this.jump == 0 ? 1 : this.jump);
}