equalsIgnoreCase method

bool equalsIgnoreCase(
  1. String other
)

Returns true if this string equals other, ignoring case.

Implementation

bool equalsIgnoreCase(String other) => toLowerCase() == other.toLowerCase();