Closed lisaerikssonw closed 2 years ago
OK, I found a way to get around this by adding 'name' and 'place_id' fields in my details request, since they are non-nullable in your fromJson map. Maybe it should be clarified that these fields are mandatory when using field filters?
I have updated this package, please use the following:
flutter_google_places:
git:
url: https://github.com/fluttercommunity/flutter_google_places
ref: v0.3.2
Hi,
After upgrading to flutter_google_places: ^0.3.0, getting place details is not working. _places.autocomplete is working fine, but when I run getDetailsByPlaceId() using placeId from one of the Predictions, I get "type 'Null' is not a subtype of type 'String' in type cast".
Output: