copyWith method
Poi
copyWith(
{ - String? parent,
- String? address,
- String? distance,
- String? pCode,
- String? adcode,
- String? pName,
- String? cityName,
- String? type,
- String? typeCode,
- String? adName,
- String? cityCode,
- String? name,
- LatLng? location,
- String? id,
})
Implementation
Poi copyWith({
String? parent,
String? address,
String? distance,
String? pCode,
String? adcode,
String? pName,
String? cityName,
String? type,
String? typeCode,
String? adName,
String? cityCode,
String? name,
LatLng? location,
String? id,
}) {
return Poi(
parent: parent ?? this.parent,
address: address ?? this.address,
distance: distance ?? this.distance,
pCode: pCode ?? this.pCode,
adcode: adcode ?? this.adcode,
pName: pName ?? this.pName,
cityName: cityName ?? this.cityName,
type: type ?? this.type,
typeCode: typeCode ?? this.typeCode,
adName: adName ?? this.adName,
cityCode: cityCode ?? this.cityCode,
name: name ?? this.name,
location: location ?? this.location,
id: id ?? this.id,
);
}