promptGoogleMapsKey method
Implementation
String promptGoogleMapsKey() {
return Input(
prompt: 'Enter your Google Maps API Key',
validator: (value) {
if (value.trim().isEmpty) {
throw ValidationError('API key cannot be empty');
}
return true;
},
).interact();
}