Returns the position of the first match of pattern in this string
pattern
int? indexOf(Pattern pattern, [int start = 0]) => value?.indexOf(pattern, start);