copyWith method
Implementation
Feature copyWith({
dynamic id,
Geometry? geometry,
Map<String, dynamic>? properties,
String? source,
}) =>
Feature.fromJsObject(FeatureJsImpl(
type: 'Feature',
id: id ?? this.id,
geometry: geometry != null ? geometry.jsObject : this.geometry.jsObject,
properties:
properties != null ? jsify(properties) : jsify(this.properties),
source: source ?? this.source,
));