diff --git a/lib/data/home1.dart b/lib/data/home1.dart index 0fe62e5..4715b6d 100644 --- a/lib/data/home1.dart +++ b/lib/data/home1.dart @@ -17,7 +17,7 @@ class HomeApi { if (response.statusCode == 200) { Map data = jsonDecode(utf8.decode(response.bodyBytes)); String countryCode = data['countryCode']; - String countryName = data['India']; + String countryName = data['country']; await box.put('countryCode', countryCode); await box.put('countryName', countryName); }