equalsIgnoreCase method
Compares the current string with another string for equality, ignoring case differences.
Implementation
bool equalsIgnoreCase(String? other) =>
(this == null && other == null) ||
(this != null &&
other != null &&
this!.toLowerCase() == other.toLowerCase());