diff --git a/flutter-for-android.md b/flutter-for-android.md index 544df2c..691377a 100644 --- a/flutter-for-android.md +++ b/flutter-for-android.md @@ -680,7 +680,7 @@ class _SampleAppPageState extends State { String dataURL = "https://jsonplaceholder.typicode.com/posts"; http.Response response = await http.get(dataURL); setState(() { - widgets = JSON.decode(response.body); + widgets = json.decode(response.body); }); } }