compareLocale method
Compare two strings in a locale-dependent manner.
For more options, use Intl.collation directly.
Implementation
int compareLocale(String other, {Locale? locale}) =>
Intl(locale: locale).collation().compare(this, other);
Compare two strings in a locale-dependent manner.
For more options, use Intl.collation directly.
int compareLocale(String other, {Locale? locale}) =>
Intl(locale: locale).collation().compare(this, other);