copy

fun copy(id: String = this.id, data: FeatureCollection = this.data): GeometryData

Deprecated

This will be removed from future releases after 2025-12-16.

Replace with

GeometryData(id, data)