img property

Img get img

Returns the category image as an Img.

Returns

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

Implementation

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

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

Sets the category image.

Parameters

  • IN img Image to set.

Implementation

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