equalsIgnoreCase method

bool equalsIgnoreCase(
  1. String other
)

Determines this String and other are equal, ignoring capitalization.

Implementation

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