cacheSuggestions method
Add the PlacesSuggestions to the cache.
Implementation
void cacheSuggestions({required String? text, PlacesSuggestions? data}) {
if (text != null && data != null) {
_suggestionsCache[text] = data;
}
}
Add the PlacesSuggestions to the cache.
void cacheSuggestions({required String? text, PlacesSuggestions? data}) {
if (text != null && data != null) {
_suggestionsCache[text] = data;
}
}