contains method

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

是否包含 other

Implementation

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