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