img property

Img get img

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 image when you only need raw image bytes.

Returns

  • An Img instance representing the overlay icon.

Implementation

Img get img {
  final OperationResult resultString = objectMethod(
    pointerId,
    'OverlayInfo',
    'getImg',
  );

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