getImage method

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

Gets the traffic event image

Returns

  • The traffic event image

Throws

  • An exception if it fails.

Implementation

Uint8List? getImage({final Size? size, final ImageFileFormat? format}) {
  return GemKitPlatform.instance.callGetImage(
    _pointerId,
    'TrafficEvent',
    size?.width.toInt() ?? -1,
    size?.height.toInt() ?? -1,
    format?.id ?? -1,
  );
}