isExit property

bool get isExit

Check if the route instruction is a main road exit instruction.

Returns

  • True if an exit is involved, false otherwise.

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}