setCountry method Null safety

void setCountry(
  1. String? isoCode
)

Sets the global country for API queries.

Implementation

static void setCountry(final String? isoCode) =>
    OpenFoodAPIConfiguration.globalCountry = CountryHelper.fromJson(isoCode);