updateLocales static method

void updateLocales(
  1. LocaleList locales
)

Requests the system to update the list of system locales. Note that the system looks halted for a while during the Locale migration, so the caller need to take care of it.

Implementation

static void updateLocales(LocaleList locales) =>
    LocalePickerChannel.instance.updateLocales(locales);