hasTollRoads property

bool get hasTollRoads
inherited

Check if the route contains toll roads.

Returns

  • Boolean indicating whether the route includes toll roads.

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}