gaulFromLocale static method
Returns the GAUL code for the given locale
or if not provided, device's locale or from alpha code.
Example: (259
, 199
, etc.)
Implementation
static String? gaulFromLocale({Locale? locale}) {
String? code = _resolveLocale(locale);
Country? country =
allCountries.firstWhereSafe((country) => country.a2 == code);
return country?.gaul;
}