copyWith method
Implementation
PoiResult copyWith({
int? pageCount,
List<PoiItem>? pois,
Query? query,
List<SuggestionCity>? searchSuggestionCitys,
List<String>? searchSuggestionKeywords,
}) {
return PoiResult(
pageCount: pageCount ?? this.pageCount,
pois: pois ?? this.pois,
query: query ?? this.query,
searchSuggestionCitys: searchSuggestionCitys ?? this.searchSuggestionCitys,
searchSuggestionKeywords: searchSuggestionKeywords ?? this.searchSuggestionKeywords,
);
}