isCaseInsensitiveContains static method
Checks if a contains b (Treating or interpreting upper- and lowercase letters as being the same).
Implementation
static bool isCaseInsensitiveContains(String a, String b) {
return a.toLowerCase().contains(b.toLowerCase());
}