copyWith method
ReGeocodePoi
copyWith(
{ - String? id,
- String? name,
- String? type,
- String? tel,
- String? direction,
- String? distance,
- String? location,
- String? address,
- String? poiWeight,
- String? businessArea,
})
Implementation
ReGeocodePoi copyWith({
String? id,
String? name,
String? type,
String? tel,
String? direction,
String? distance,
String? location,
String? address,
String? poiWeight,
String? businessArea,
}) {
return ReGeocodePoi(
id: id ?? this.id,
name: name ?? this.name,
type: type ?? this.type,
tel: tel ?? this.tel,
direction: direction ?? this.direction,
distance: distance ?? this.distance,
location: location ?? this.location,
address: address ?? this.address,
poiWeight: poiWeight ?? this.poiWeight,
businessArea: businessArea ?? this.businessArea,
);
}