I am working on a taxi booking app where routes between cities are predefined in the database with pickup and drop city. Without google place API things are working fine. Now I want to make a dropdown in flutter where it can search any city in the country and if those pickup and drop cities are found in the database then display the route from DB otherwise it will just log an entry in the booking inquiry.
How to map a city data from google to a custom city table where I have cities' names?