img property

Img get img

Get the landmark image

Returns

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

Throws

  • An exception if it fails.

Implementation

Img get img {
  final resultString = objectMethod(_pointerId, 'Landmark', 'getImg');

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

Sets the landmark image

Returns

  • The landmark image to be set

Throws

  • An exception if it fails.

Implementation

set img(Img value) {
  objectMethod(_pointerId, 'Landmark', 'setImg', args: value.pointerId);
}