snapshot.data[1].data[index].data["fname"]
This line should instead be:
snapshot.data[1][index].fname
where fname is a property of the object you are accessing.
fname