How do I loop through a firestore document that has an array of maps?
问题 I mostly work with dictionaries since I am fairly new but here we have an embedded struct that I need to loop through. With this, I need to be able to populate expanding cells in UITableView. My struct looks like this: struct Complain: Codable { let eMail, message, timeStamp, userEmail: String let status: Bool let planDetails: PlanDetails enum CodingKeys: String, CodingKey { case eMail = "E-mail" case message = "Message" case timeStamp = "Time_Stamp" case userEmail = "User_Email" case status,