equalsIgnoreCase method

bool equalsIgnoreCase(
  1. String? other
)

Returns true if string equals with ignoring case

Implementation

bool equalsIgnoreCase(String? other) {
  if (this == null || other == null) return false;
  return this!.toLowerCase() == other.toLowerCase();
}