userSPMSnapshot.forEach((doc) => {
console.log(doc.id, "=>", doc.data());
userSPMList.push(userSPM.fromFirestore(doc));
});
console.log(userSPMList)
I'm encountering an issue where some fields in my data lose their values when I push them to a list. It's strange because initially, fields like enrollmentYear have values, but once they are added to the list, the value changes to null. However, certain fields like Id remain unaffected.