img property
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']);
}
Set the category image.
Parameters
- IN img Image to set.
Implementation
set img(final Img img) {
objectMethod(
_pointerId,
'LandmarkCategory',
'setImg',
args: img.pointerId,
);
}