flutter convert json string to json ---------------------- var x1 = '[{"id": "1"}]'; List<dynamic> x2 = jsonDecode(x1); print(x2[0]);