RouteLeg_StepsOverview_MultiModalSegment constructor

RouteLeg_StepsOverview_MultiModalSegment({
  1. int? stepStartIndex,
  2. int? stepEndIndex,
  3. NavigationInstruction? navigationInstruction,
  4. 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;
}