equalsIgnoreCase method

bool equalsIgnoreCase(
  1. String other
)

Case-insensitive equality check.

Implementation

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