copyWith method

PoiExtension copyWith({
  1. String? opentime,
  2. String? rating,
  3. double? cost,
})

Implementation

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