Search for element starting from start and return its index.
element
start
If the element does not exist, -1 is returned.
-1
int indexOf(E element, [int start = 0]) => indexWhere((value) => element == value, start);