indexOf method
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);