toJsonStringMap static method
Helper function without generic types. Needed for the
@JsonKey
annotation (the annotation can't work with generics).
Implementation
static Map<String, String>? toJsonStringMap(
Map<OpenFoodFactsLanguage, String>? map) {
return toJsonMap(map);
}