Refactor ForexRateAPI integration to load API key from .env file and enhance error handling
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ environment:
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_dotenv: ^5.2.1
|
||||
flutter_local_notifications: ^19.5.0
|
||||
flutter_timezone: ^4.1.1
|
||||
http: ^1.5.0
|
||||
@@ -25,3 +26,5 @@ dev_dependencies:
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
assets:
|
||||
- ./.env
|
||||
|
||||
Reference in New Issue
Block a user