fromOffTag static method

OpenFoodFactsCountry? fromOffTag(
  1. String? offTag
)
override

Returns the first OpenFoodFactsCountry that matches the offTag.

Implementation

static OpenFoodFactsCountry? fromOffTag(final String? offTag) =>
    OffTagged.fromOffTag(offTag, OpenFoodFactsCountry.values)
        as OpenFoodFactsCountry?;