Closed mathrocco closed 3 years ago
@mathrocco Thanks for the PR!
I've added few mostly-"cosmetic" comments that I could quickly find by looking at the PR, but it looks good overall.
One thing that's missing is a test to the test file. You can see the test for the findAutocompletePredictions
to make something like that.
I'll take a closer look when I can.
I ended up doing a bigger change due to null safety, and inserted your changes manually with more.
Thank you for your PR!
What
Increment platform interface with the following implementation:
Autocomplete API:
sessionToken: bool
paramorigin: Location
paramPlace Details implementation with the following params:
placeId
fields: List<PlaceField>
PlaceField
withLAT_LNG
option only for nowAfter merged and publish, there's another Pull Request on the line with the new interface implementation