isFerry property

bool get isFerry

Whether this instruction involves a ferry crossing.

Returns

  • bool: true when the instruction corresponds to a ferry segment.

Implementation

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

  return resultString['result'];
}