isIgnoreCaseEqual static method

bool isIgnoreCaseEqual(
  1. String left,
  2. String right
)

Implementation

static bool isIgnoreCaseEqual(String left, String right) {
  if (left.length == right.length) {
    return left.toLowerCase() == right.toLowerCase();
  }
  return false;
}