re: Build a chat application in Dart 2 (Part 1) VIEW POST

re: Hi Jermaine, I faced a small problem while re-doing your tutorial. Even though this worked the first time, now the code in the server.dart file is ...

Hey Ratul, the snippet you're providing looks different. You have String data instead of String payload. What does your code for the section in question look like?


I think I misused a function down the line and this happened. I reverted everything back and rewrote the signin handler and it fixed the issue. I was trying out posting JSON data instead of form data and may have used a wrong method.
Oh and I just renamed payload to data for my convenience.

Thanks for the reply :D Eagerly waiting for the third part of the series!

code of conduct - report abuse