imgPreview property
Get the image as a Img.
Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getImagePreview when you only need raw image bytes.
Returns
- The item
Img. The caller is responsible for checking whether the image is valid.
Implementation
Img get imgPreview {
final OperationResult resultString = objectMethod(
pointerId,
'ContentStoreItem',
'getImgPreview',
);
return Img.init(resultString['result']);
}