isExit property

bool get isExit

Whether this instruction represents a main-road exit maneuver.

Returns

  • bool: true when the instruction denotes an exit; otherwise false.

See also:

  • exitDetails - get exit-specific information when the instruction is an exit.

Implementation

bool get isExit {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteInstructionBase',
    'isExit',
  );

  return resultString['result'];
}