arrayIndexOf method

FunctionExpression arrayIndexOf(
  1. Object? search
)

The position of the first occurrence of search in this array, or -1.

Implementation

FunctionExpression arrayIndexOf(Object? search) =>
    _function('array_index_of', <Object?>[search, 'first']);