Class '_InternalLinkedHashMap<String, dynamic>' has no instance getter 'country'. Receiver: _LinkedHashMap len:24 Tried calling: country code example
Example: Class '_InternalLinkedHashMap' has no instance getter 'data'
The issue was with the fetching data type i was trying to access list as a Map
so changing it will help or you can cast the data coming from http using
.cast<String,dynamic>()