withMode

Set the mode of transportation in the step. Default value is driving.

Return

The builder instance.

Parameters

mode

The mode of transportation in the step.