setUserCountryCode method
- String countryCode
Please use ProductQuery.setCountry as interface
Implementation
Future<void> setUserCountryCode(String countryCode) async {
await _sharedPreferences.setString(_TAG_USER_COUNTRY_CODE, countryCode);
await _sharedPreferences.setInt(
_TAG_USER_COUNTRY_CODE_LAST_UPDATE,
DateTime.now().millisecondsSinceEpoch,
);
notifyListeners();
}