imagesFromJson static method
Returns ProductImage
s from a JSON map for "Images".
For historical reasons we keep only the 4 main images here, on all sizes and languages.
Implementation
// TODO: deprecated from 2023-11-25; remove when old enough
@Deprecated('Use allImagesFromJson instead')
static List<ProductImage>? imagesFromJson(Map? json) => allImagesFromJson(
json,
onlyMain: true,
);