So I recently shifted to realtime database from cloud firestore for my app's chat features, mostly because of how expensive cloud firestore can be on scale in terms of a chat app with multiple reads/writes.
The problem I'm facing is that there are no proper documentation or any sort of courses that I can take which will educate me on how to implement the realtime database with flutter. I'm struggling a lot with displaying the chat messages in the order of the time they were sent. With cloud firestore there was proper material that I could read and learn from. But this doesn't seem to be the case for realtime database and flutter.
This seems very weird, because if I am not wrong , RTDB was launched way before cloud firestore, so shouldn't there be more material for that , or am I missing something?