StringExtensions extension
- on
Methods
-
bestMatch(
List< String?> targetStrings) → BestMatch - Compares mainString against each string in targetStrings.
-
similarityTo(
String? other) → double - Returns a fraction between 0 and 1, which indicates the degree of similarity between the two strings. 0 indicates completely different strings, 1 indicates identical strings. The comparison is case-sensitive.