Closed Melanee-Melanee closed 2 years ago
I think, along with the above changes we need to update the others lines too. This works for me... final messages = snapshot.data. final messageText = message.data()['text']; final messageSender = message.data()['sender'];
At the beginning of this page, these two lines of code are been deprecated and the correct forms are: