img property

Img get img

Get the item image

Returns

  • Item image. The user is responsible to check if the image is valid

Throws

  • An exception if it fails.

Implementation

Img get img {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayItem',
    'img',
  );

  return Img.init(resultString['result']);
}