nextTurnImg property

Img get nextTurnImg

Get the image of the immediate next turn as a Img.

Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getNextTurnImage when you only need raw image bytes.

Returns

  • (Img) Turn image object (validate before use).

See also:

Implementation

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

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