Flutter toJson and fromJson when you have an array

I couldn’t quite figure it out how to get it working when you have an object which has an array of objects in json format. This is what I ended up with. totalItems is a property in the FullWordList class, and this class contains a List of Items, which we declared further down. Both got …