convert firestore timestamp to date flutter code example Example: flutter firestore timestamp to datetime DateTime.parse(timestamp.toDate().toString())