equalsIgnoreCase method

bool equalsIgnoreCase(
  1. String? other
)

Returns true if strings are equals without matching case

Implementation

bool equalsIgnoreCase(String? other) =>
    (this == null && other == null) ||
    (this != null &&
        other != null &&
        this?.toLowerCase() == other.toLowerCase());