getNextNextTurnImage method

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

Get the schematic image of the next next turn.

A simplified representation of the next next turn image. A detailed representation can be obtained with nextNextTurnDetails.abstractGeometryImage.

Returns

  • The image of the next next turn if available
  • null if no image is available

Throws

  • An exception if it fails.

Implementation

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