containsIgnoreCase method
Returns true
if string contains another without matching case
Implementation
bool containsIgnoreCase(String? other) {
if (other == null) return false;
return this?.toLowerCase().contains(other.toLowerCase()) ?? false;
}