BackgroundTaskLanguageRefresh.fromJson constructor
Implementation
BackgroundTaskLanguageRefresh.fromJson(super.json)
: excludeBarcodes = _getStringList(json, _jsonTagExcludeBarcodes),
productType =
ProductType.fromOffTag(json[_jsonTagProductType] as String?) ??
// for legacy reason (not refreshed products = no product type)
ProductType.food,
super.fromJson();