cloneWith method
Implementation
Wayholder cloneWith({List<Waypath>? inner, List<Waypath>? closedOuters, List<Waypath>? openOuters}) {
Wayholder result = Wayholder();
result._closedOuters = closedOuters ?? this._closedOuters.map((toElement) => toElement.clone()).toList();
result._openOuters = openOuters ?? this._openOuters.map((toElement) => toElement.clone()).toList();
result._inner = inner ?? this._inner.map((toElement) => toElement.clone()).toList();
result.tileBitmask = this.tileBitmask;
result.labelPosition = this.labelPosition;
result.tags = List.from(this.tags);
result.layer = this.layer;
result.mergedWithOtherWay = this.mergedWithOtherWay;
result.featureElevation = this.featureElevation;
result.featureHouseNumber = this.featureHouseNumber;
result.featureName = this.featureName;
result.featureRef = this.featureRef;
result.languagesPreference = this.languagesPreference;
result.tagholders = List.from(this.tagholders);
return result;
}