Returns true if the string ends with the given other string, ignoring case.
other
bool endsWithIgnoreCase(String other) { return toLowerCase().endsWith(other.toLowerCase()); }