stringIndexOf method

FunctionExpression stringIndexOf(
  1. Object search
)

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

Implementation

FunctionExpression stringIndexOf(Object search) =>
    _function('string_index_of', <Object?>[search]);