RouteLeg_StepsOverview_MultiModalSegment constructor
RouteLeg_StepsOverview_MultiModalSegment({
- int? stepStartIndex,
- int? stepEndIndex,
- RouteTravelMode? travelMode,
Implementation
factory RouteLeg_StepsOverview_MultiModalSegment({
$core.int? stepStartIndex,
$core.int? stepEndIndex,
$16.NavigationInstruction? navigationInstruction,
$21.RouteTravelMode? travelMode,
}) {
final $result = create();
if (stepStartIndex != null) {
$result.stepStartIndex = stepStartIndex;
}
if (stepEndIndex != null) {
$result.stepEndIndex = stepEndIndex;
}
if (navigationInstruction != null) {
$result.navigationInstruction = navigationInstruction;
}
if (travelMode != null) {
$result.travelMode = travelMode;
}
return $result;
}