cachePlaceDetails method
Add the Place to the cache and refresh the session token to be ready for use in a new search session.
Implementation
void cachePlaceDetails({
required String? id,
Place? data,
}) {
if (id != null && data != null) {
_placeDetailsCache[id] = data;
}
refresh();
}