isCaseInsensitiveContains method

bool isCaseInsensitiveContains(
  1. String b
)

Checks if a contains b (Treating or interpreting upper- and lowercase letters as being the same).

Implementation

bool isCaseInsensitiveContains(String b) => toLowerCase().contains(b.toLowerCase());