I have a Flutter app which gets the address of an location by doing something similiar to the following:
List<Placemark> placemarks = await placemarkFromCoordinates(lat, long);
String address = '${placemarks.reversed.last.subLocality ?? ''}';
I want to put that function in firebase cloud functions.
Any Idea how to do it?
In other words, how do I get the address from location with firebase cloud functions?
Thanks