hasTollRoads property

bool get hasTollRoads

Check if the route contains toll roads.

Returns

  • Boolean indicating whether the route includes toll roads.

Implementation

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

  return resultString['result'];
}