Waypoint constructor

Waypoint({
  1. String? id,
  2. GeoPoint? location,
})

Implementation

factory Waypoint({
  $core.String? id,
  $14.GeoPoint? location,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (location != null) {
    $result.location = location;
  }
  return $result;
}