how to convert json string to json object in dart flutter?

You have to use json.decode. It takes in a json object and let you handle the nested key value pairs. I’ll write you an example import ‘dart:convert’; // actual data sent is {success: true, data:{token:’token’}} final response = await client.post(url, body: reqBody); // Notice how you have to call body from the response if you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)