We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7c619 commit e66eaafCopy full SHA for e66eaaf
lib/src/api/api_provider.dart
@@ -4,7 +4,7 @@ import 'package:flutter_news_app/src/model/topheadlinesnews/response_top_headlin
4
class ApiProvider {
5
final Dio _dio = Dio();
6
final String _baseUrl =
7
- 'https://newsapi.org/v2/top-headlines?country=id&apiKey=fc14ae62fff14511a901ad9537987354';
+ 'https://newsapi.org/v2/top-headlines?country=id&apiKey=YOUR_API_KEY';
8
9
void printOutError(error, StackTrace stacktrace) {
10
print('Exception occured: $error with stacktrace: $stacktrace');
0 commit comments