getUserCountry function

String? getUserCountry()

Implementation

String? getUserCountry() {
  final splitList = SupabaseAddons.systemLocale.split('_');
  String? country_code;
  if (splitList.length >= 2) {
    country_code = splitList[1].toLowerCase();
  }
  return country_code;
}