getImage method
- Size? size,
- ImageFileFormat? format,
Get the category image.
Parameters
- IN size Size of the image
- IN format Format of the image
Returns
- The category image if available, null otherwise
Throws
- An exception if it fails.
Implementation
Uint8List? getImage({final Size? size, final ImageFileFormat? format}) {
return GemKitPlatform.instance.callGetImage(
_pointerId,
'LandmarkCategory',
size?.width.toInt() ?? -1,
size?.height.toInt() ?? -1,
format?.id ?? -1,
);
}