getNextTurnImage method

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

Get the schematic image of the next turn.

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

Returns

  • The image of the next turn

Implementation

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