I am trying to cache a firebase document filed to a local List. But I don't know how to do that.
Here is firebase document field I want to cache

This is the list I want:
List theListIwant = [
{'aed': true},
{'bet': false},
{'med': true},
{'zed': true},
];
DocumentSnapshot:
FirebaseFirestore.instance.collection('stores').doc(storeData.user.uid).snapshots()
I am stuck here:
List medicineList = (snapshot.data!
.get('meds') as Map)
.entries
.map((e) => null)