img property

Img get img

Get the image of the overlay.

Returns

  • The overlay 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,
    'OverlayInfo',
    'getImg',
  );

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