compareIgnoreCase function Null safety
Compares a
and b
after converting to lower case.
Both a
and b
must not be null.
Implementation
int compareIgnoreCase(String a, String b) =>
a.toLowerCase().compareTo(b.toLowerCase());
Compares a
and b
after converting to lower case.
Both a
and b
must not be null.
int compareIgnoreCase(String a, String b) =>
a.toLowerCase().compareTo(b.toLowerCase());