copyWith method
Implementation
PoiExtension copyWith({
String? opentime,
String? rating,
double? cost,
}) {
return PoiExtension(
opentime: opentime ?? this.opentime,
rating: rating ?? this.rating,
cost: cost ?? this.cost,
);
}
PoiExtension copyWith({
String? opentime,
String? rating,
double? cost,
}) {
return PoiExtension(
opentime: opentime ?? this.opentime,
rating: rating ?? this.rating,
cost: cost ?? this.cost,
);
}