contains static method

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

Refer to Safe.contains

Implementation

static bool contains(String? string, Pattern other, [int startIndex = 0]) =>
    Safe.contains(string, other, startIndex);