setLocale function

Future<Locale> setLocale(
  1. String languageCode
)

Implementation

Future<Locale> setLocale(String languageCode) async {
  await SharedPreference.setLocale(languageCode);
  return _locale(languageCode);
}