incursCosts property

bool get incursCosts

Whether traveling this segment may incur monetary costs (for example tolls).

Returns

  • bool: true when the segment includes paid sections; otherwise false.

Implementation

bool get incursCosts {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteSegmentBase',
    'getIncursCosts',
  );

  return resultString['result'];
}