I saved some values in a List of Map values.
List<Map<String, String>> savedValues = [];
Now, I want to extract those values and keys in a List. I want to extract them as a String. When I try to do this and try to show these values in ListView.builder(), I am getting the error as mentioned above.
I am doing this.
List _values = [];
List _keys = [];
for (var value in savedValues)
{
_values.add(value.values);
_keys.add(value.keys);
}
I tried different solutions but did not understand, how to do it. Any help, please?