setLocale method

  1. @override
Future<void> setLocale(
  1. String locale
)
override

Sets the ApplicationSettings.locale value.

Implementation

@override
Future<void> setLocale(String locale) async {
  Log.debug('setLocale($locale)', '$runtimeType');
  await _set(settings: (e) => e..locale = locale);
}