equalsIgnoreCase static method

bool equalsIgnoreCase(
  1. String a,
  2. String b
)

Compares the given strings a and b.

Implementation

static bool equalsIgnoreCase(String a, String b) =>
    a.toLowerCase() == b.toLowerCase();