Path constructor

Path({
  1. String? destinationWaypointId,
  2. Iterable<GeoPoint>? geopoints,
})

Implementation

factory Path({
  $core.String? destinationWaypointId,
  $core.Iterable<$14.GeoPoint>? geopoints,
}) {
  final $result = create();
  if (destinationWaypointId != null) {
    $result.destinationWaypointId = destinationWaypointId;
  }
  if (geopoints != null) {
    $result.geopoints.addAll(geopoints);
  }
  return $result;
}