Returns true if this string starts with a match of pattern.
pattern
bool? startsWith(Pattern pattern, [int index = 0]) => value?.startsWith(pattern, index);