CaseInsensitiveEquality class Null safety

String equality that's insensitive to differences in ASCII case.

Non-ASCII characters are compared as-is, with no conversion.

Implemented types

Constructors

CaseInsensitiveEquality()
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

equals(String string1, String string2) bool
Compare two elements for being equal.
override
hash(String string) int
Creates a combined hash code for a number of objects.
override
isValidKey(Object? object) bool
Test whether an object is a valid argument to equals and hash.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited