extraImg property

Img get extraImg

Get the extra image as a Img.

Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getExtraImage when you only need raw image bytes.

Returns

  • Img: The extra image wrapper instance.

Implementation

Img get extraImg {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Landmark',
    'getExtraImg',
  );

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

Sets the landmark's secondary image from an Img instance.

Parameters

  • value: The Img instance to use as the extra image.

Implementation

set extraImg(Img value) {
  objectMethod(pointerId, 'Landmark', 'setExtraImg', args: value.pointerId);
}