copyWith method

SearchPoiResponse copyWith({
  1. String? status,
  2. String? info,
  3. String? infoCode,
  4. String? count,
  5. List<Poi>? pois,
})

Implementation

SearchPoiResponse copyWith({
  String? status,
  String? info,
  String? infoCode,
  String? count,
  List<Poi>? pois,
}) {
  return SearchPoiResponse(
    status: status ?? this.status,
    info: info ?? this.info,
    infoCode: infoCode ?? this.infoCode,
    count: count ?? this.count,
    pois: pois ?? this.pois,
  );
}