compareWithoutCase method
Compares two strings by ignoring case differences.
Implementation
bool compareWithoutCase(String? otherString) {
if (otherString == null || this == null) return false;
// ignore: use_compare_without_case
return otherString.toLowerCase() == this?.toLowerCase();
}