What
I'm trying to fetch product details from barcode, but can't call .getProduct with config since config doesn't seem to be accessible.
I'm trying to use my own ProductPage.
Steps to reproduce the behavior:
try await OpenFoodAPIClient.shared.getProduct(config: ProductQueryConfiguration(barcode: barcode))
Platform (Desktop, Mobile, Hunger Games)
What
I'm trying to fetch product details from barcode, but can't call .getProduct with config since config doesn't seem to be accessible.
I'm trying to use my own
ProductPage.Steps to reproduce the behavior:
try await OpenFoodAPIClient.shared.getProduct(config: ProductQueryConfiguration(barcode: barcode))Platform (Desktop, Mobile, Hunger Games)