streamChatDataList method
Implementation
Stream<QuerySnapshot> streamChatDataList(var stCollection, var groupChatId) {
return FirebaseFirestore.instance
.collection(stCollection)
.doc(groupChatId)
.collection(groupChatId)
.orderBy('timestamp', descending: true)
.limit(50)
.snapshots();
}