addGoogleMap function
adds google maps dependency to pubspec.yaml file
Implementation
Future<void> addGoogleMap() async {
if (_Commons.pluginExists("google_maps_flutter")) return;
String? plugin = await _PubspecAPI().getPackage('google_maps_flutter');
if (plugin == null)
plugin =
"google_maps_flutter: ${_Commons.loadConfig()['plugins']['google_maps']}";
_Commons.addDependencise(" $plugin");
stdout.writeln("added google maps plugin to pubspec");
}