indexOf method

int indexOf(
  1. E element, [
  2. int? fromIndex
])

Implementation

int indexOf(E element, [int? fromIndex]) =>
    jsu.callMethod(this, 'indexOf', [element, fromIndex]);