I am trying to get the JSON response from the server and output it to the console.
Future login() async { var response = await http.get(
If your working with Firebase Cloud,make sure that you're not trying to add multiple data with same DocumentID;
firestore.collection('user').document(UNIQUEID).setData(educandos[0].toJson()).