TravelPouch / travelpouch

2 stars 2 forks source link

Add .toMap() for Serialization in TravelRepositoryFirestore #37

Closed appellet closed 1 week ago

appellet commented 1 week ago

We need to add the .toMap() method in the TravelRepositoryFirestore class for serialization purposes. This will help in converting our data objects into a map format that can be easily serialized and deserialized when interacting with Firestore. The changes should ensure that all the necessary fields are included in the map and that the method is thoroughly tested.