incursCosts property

bool get incursCosts
inherited

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

Returns

  • True if the route incurs costs, false otherwise.

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}