equalIgnoreCase static method

bool equalIgnoreCase(
  1. String s1,
  2. String s2
)

Implementation

static bool equalIgnoreCase(String s1, String s2) {
  return s1.toLowerCase() == s2.toLowerCase();
}