List Map String Dynamic Flutter: Web make sure that the data coming from json is of type list. Using map foreach () method And do not forget list not equals.
I have a record class to parse objects coming from firestore. Web make sure that the data coming from json is of type list. Web list temp = (jsonmap[‘data’] as list).map((itemword) => word.fromjson(itemword)).tolist();
List Map String Dynamic Flutter: And do not forget list not equals. We will convert this map to list with customer.name from a key and customer.age from a value. I have a record class to parse objects coming from firestore.