equalsIgnoreCase function

bool equalsIgnoreCase(
  1. String string1,
  2. String string2
)

Implementation

bool equalsIgnoreCase(String string1, String string2) {
  return string1.toLowerCase().replaceAll(RegExp(r'ı'), 'i') ==
      string2.toLowerCase().replaceAll(RegExp(r'ı'), 'i');
}