incursCosts property

bool get incursCosts
inherited

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)

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}