hasTollRoads property

bool get hasTollRoads

Whether the route contains toll roads.

Returns

  • bool: true when the route includes toll-road segments.

Implementation

bool get hasTollRoads {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteBase',
    'hasTollRoads',
  );

  return resultString['result'];
}