getLocale function

Future<Locale> getLocale()

Implementation

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