NaturalLanguageExtension extension

Extension on NaturalLanguage to convert it to a Locale.

on

Methods

toLocale({String? countryCode, String? scriptCode}) Locale
Converts NaturalLanguage to a Locale.