toJsonStringsListMap static method

Map<String, List<String>>? toJsonStringsListMap(
  1. Map<OpenFoodFactsLanguage, List<String>>? map
)

Helper function without generic types. Needed for the @JsonKey annotation (the annotation can't work with generics).

Implementation

static Map<String, List<String>>? toJsonStringsListMap(
    Map<OpenFoodFactsLanguage, List<String>>? map) {
  return toJsonMap(map);
}