I have been working on a flutter mobile project of a taxi clone app. I have used Google Maps API for GeoCoding and Directions. I have been following a tutorial on youtube (the link). When I run the project I don't get any data and see this error in the console
[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type 'String' is not a subtype of type 'Uri'
Please help me. I am doing it for a school project