img property

Img get img

Get the category image

Returns

  • Category 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,
    'LandmarkCategory',
    'getImg',
  );

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