getProductImageRootUrl method

String getProductImageRootUrl(
  1. String barcode
)

Returns the web folder of the product images (without trailing '/')

E.g. "https://images.openfoodfacts.org/images/products/359/671/046/2858"

Implementation

String getProductImageRootUrl(final String barcode) =>
    '${getImageUrlBase()}/${getBarcodeSubPath(barcode)}';