nextTurnImg property

Img get nextTurnImg

Get the image of the next turn instruction.

Returns

  • The next turn image. The user is responsible to check if the image is valid.

Throws

  • An exception if it fails

Implementation

Img get nextTurnImg {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'NavigationInstruction',
    'getNextTurnImg',
  );

  return Img.init(resultString['result']);
}