contains method

bool contains(
  1. Pattern other, [
  2. int startIndex = 0
])

Implementation

bool contains(Pattern other, [int startIndex = 0]) =>
    text.contains(other, startIndex);