onLocaleListResolutionCallback method

Locale? onLocaleListResolutionCallback(
  1. List<Locale>? locales,
  2. Iterable<Locale> supportedLocales
)

Returns 'Locale Resolutions' routine if any.

Implementation

Locale? onLocaleListResolutionCallback(
        List<Locale>? locales, Iterable<Locale> supportedLocales) =>
    inLocaleListResolutionCallback == null
        ? null
        : inLocaleListResolutionCallback!(locales, supportedLocales);