startsWithAny method

bool startsWithAny(
  1. List<Pattern> prefixes, [
  2. int index = 0
])

Null safe check if the string starts with any of given prefixes.

See also StringUtils.startsWithAny

Implementation

bool startsWithAny(List<Pattern> prefixes, [int index = 0]) {
  return StringUtils.startsWithAny(this, prefixes, index);
}