fromOffTag static method

OpenFoodFactsLanguage? fromOffTag(
  1. String? offTag
)
override

Returns the first OpenFoodFactsLanguage that matches the offTag.

Implementation

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