resolution method

LocaleResolutionCallback resolution({
  1. Locale? fallback,
  2. bool withCountry = true,
})

Implementation

LocaleResolutionCallback resolution({Locale? fallback, bool withCountry = true}) {
  return (Locale? locale, Iterable<Locale> supported) {
    return _resolve(locale, fallback, supported, withCountry);
  };
}