I'm new to flutter and was running a code to fetch and display data from internet. But when I'm running the code I'm getting this error: List<dynamic>' is not a subtype of type 'Map<String, dynamic>. I tried to find out the solution but nothing is of help. Thanks in advance.
I'm new to flutter and was running a code to fetch and display data from internet. But when I'm running the code I'm getting this error:
List<dynamic>' is not a subtype of type 'Map<String, dynamic>
. I tried to find out the solution but nothing is of help. Thanks in advance.Here is my code: