What do you want to save?
Add Code snippet
New code examples
-
Dart 2022-02-27 15:40:02
type '_InternalLinkedHashMap<DateTime, int>' is not a subtype of type 'Map<DateTime, double>'
Future<List<Map<String, dynamic>>> fetch() async { http.Response response = await http.get('http://10.0.2.2:8000/api/membres'); if (response.statusCode != 200) return null; return List<Map<String, dynamic>>.from(json.de... Add solution -
Other 2021-09-08 07:55:02
how to use api key in flutter
Try to change http.Response response = await http.get(cryptoUrl); to http.Response response = await http.get(cryptoUrl, headers: {"X-CMC_PRO_API_KEY": "cab79c7b-52e9-4e4b-94fc-b0f32da14799"}); For more info check this link. Add solution