getImage method

Uint8List? getImage({
  1. Size? size,
  2. ImageFileFormat? format,
})

Returns the category image as bytes.

Parameters

  • IN size Size of the image.
  • IN format Format of the image.

Returns

  • The category image if available, null otherwise.

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,
  );
}