Path constructor
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;
}