refactor: Replace HubsConstants.googlePlacesApiKey with AppConfig.googlePlacesApiKey for better configuration management

This commit is contained in:
Achintha Isuru
2026-02-04 08:47:43 -05:00
parent 1ba83e3ea6
commit e3268d4722
4 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
/// AppConfig class that holds configuration constants for the application.
/// This class is used to access various API keys and other configuration values
/// throughout the app.
class AppConfig {
AppConfig._();
/// The Google Places API key used for address autocomplete functionality.
static const String googlePlacesApiKey = String.fromEnvironment('GOOGLE_PLACES_API_KEY');
}