setImage method
- Img image
Sets an image to represent this landmark store from an Img instance.
A non-empty store image can be used to override individual landmark images when rendering the collection. Passing an empty image resets the behavior to use individual landmark images.
Parameters
image: The Img to assign to the store.
Returns
- GemError: Status code indicating the result (for example GemError.success).
Implementation
GemError setImage(Img image) {
final OperationResult resultString = objectMethod(
pointerId,
'LandmarkStore',
'setImage',
args: image.pointerId,
);
return GemErrorExtension.fromCode(resultString['result']);
}