AddWaypointRequest constructor

AddWaypointRequest({
  1. String? name,
  2. GeoPoint? location,
  3. Struct? extra,
})

Implementation

factory AddWaypointRequest({
  $core.String? name,
  $14.GeoPoint? location,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (location != null) {
    $result.location = location;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}