copyWith method
Implementation
PlacesResponse copyWith({List<Prediction>? predictions, String? status}) {
return PlacesResponse(
predictions: predictions ?? this.predictions,
status: status ?? this.status,
);
}
PlacesResponse copyWith({List<Prediction>? predictions, String? status}) {
return PlacesResponse(
predictions: predictions ?? this.predictions,
status: status ?? this.status,
);
}