containsWithoutCase method
Returns true if the string contains the other string by ignoring case, otherwise returns false.
Implementation
bool containsWithoutCase(String? otherString) {
if (otherString == null || this == null) return false;
return this?.toLowerCase().contains(otherString.toLowerCase()) ?? false;
}