copy

fun copy(coordinate: GeoPoint = this.coordinate, name: String = this.name, address: Address? = this.address, entryPoints: List<EntryPoint> = this.entryPoints): Place

Creates a copy of this Place object with optional parameter overrides.

Return

The copied Place object.

Parameters

coordinate

The new geographical coordinates, defaults to the current value.

name

The new name, defaults to the current value.

address

The new address, defaults to the current value.

entryPoints

The new list of entry points, defaults to the current value.