selectLocale method

Future<void> selectLocale(
  1. String locale
)

Implementation

Future<void> selectLocale(String locale) async {
  if (selectedLocale == locale) {
    return;
  }
  await flushActiveValueDraft();
  await selection.selectLocale(locale);
}