setupApiKey function
void
setupApiKey()
setups a map api key configuration. Please replace YOUR_API_KEY with your actual api key
Implementation
void setupApiKey() {
_Commons.writeStringToFile(
_Commons.stringsPath, """<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="map_api_key">YOUR_API_KEY</string>
</resources>
""");
stdout.writeln(
"created strings.xml with map api key. Open ${_Commons.stringsPath} and replace YOUR_API_KEY with your google maps api key");
}