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