incursCosts property

bool get incursCosts

Method to check if traveling the route or route segment incurs cost to the user.

Returns

  • Boolean indicating whether the route incurs additional costs (e.g., tolls)

Implementation

bool get incursCosts {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RouteBase',
    'getIncursCosts',
  );

  return resultString['result'];
}