getTurnImage method
- Size? size,
- ImageFileFormat? format,
Get turn image.
** Parameters**
- IN size Size of the image.
- IN format Format of the image
Returns
- The image for the turn. The API user is responsible to check if the image is valid.
Throws
- An exception if it fails.
Implementation
Uint8List? getTurnImage({final Size? size, final ImageFileFormat? format}) {
return GemKitPlatform.instance.callGetImage(
pointerId,
'RouteInstructionGetTurnImage',
size?.width.toInt() ?? -1,
size?.height.toInt() ?? -1,
format?.id ?? -1,
);
}