indexOf method

int indexOf(
  1. T entry, [
  2. int start = 0
])

The first index of element in this list.

Searches the list from index start to the end of the list. The first time an object o is encountered so that o == element, the index of o is returned.

Implementation

int indexOf(T entry, [int start = 0]) => _list.indexOf(entry, start);