productsNullableListFromJson function
Implementation
List<enums.Products>? productsNullableListFromJson(
List? products, [
List<enums.Products>? defaultValue,
]) {
if (products == null) {
return defaultValue;
}
return products.map((e) => productsFromJson(e.toString())).toList();
}