Sensitivity enum

Which differences in the strings should lead to non-zero result values. The default is Sensitivity.variant for usage Usage.sort; it's locale dependent for Usage.search.

Inheritance

Constructors

Sensitivity([String? _jsName])
const

Values

base → const Sensitivity

Only strings that differ in base letters compare as unequal. Examples: a ≠ b, a = á, a = A.

accent → const Sensitivity

Only strings that differ in base letters or accents and other diacritic marks compare as unequal. Examples: a ≠ b, a ≠ á, a = A.

caseSensitivity → const Sensitivity

Only strings that differ in base letters or case compare as unequal. Examples: a ≠ b, a = á, a ≠ A.

variant → const Sensitivity

Strings that differ in base letters, accents and other diacritic marks, or case compare as unequal. Other differences may also be taken into consideration. Examples: a ≠ b, a ≠ á, a ≠ A.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
jsName String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Sensitivity>
A constant List of the values in this enum, in order of their declaration.