setCountry method Null safety
- String? isoCode
Sets the global country for API queries.
Implementation
static void setCountry(final String? isoCode) =>
OpenFoodAPIConfiguration.globalCountry = CountryHelper.fromJson(isoCode);
Sets the global country for API queries.
static void setCountry(final String? isoCode) =>
OpenFoodAPIConfiguration.globalCountry = CountryHelper.fromJson(isoCode);