…Tracker model. Workouts are stored in a list locally under workoutData.dart and also saved to the firestore database. Under the database, workouts are stored in json format under the workouts subcollection within the users collection.
Workout data from the db is read under initState method in home.dart and converted back to a list under workoutData.dart. The list is displayed under the workoutHistory.dart page.
Creating and reading data has been implemented. Yet to implement updating and deleting data.
…Tracker model. Workouts are stored in a list locally under workoutData.dart and also saved to the firestore database. Under the database, workouts are stored in json format under the workouts subcollection within the users collection.
Workout data from the db is read under initState method in home.dart and converted back to a list under workoutData.dart. The list is displayed under the workoutHistory.dart page.
Creating and reading data has been implemented. Yet to implement updating and deleting data.