getIndexOf<T> static method

int getIndexOf<T>(
  1. List<T> values,
  2. T value
)

Implementation

static int getIndexOf<T>(List<T> values, T value) {
  return values.indexOf(value);
}