Flutter: Getting 'null' while decoding the json file while using fromJson() method

后端 未结 0 1061
南旧
南旧 2021-02-06 17:27

I\'m loading json file like this,

Future loadData() async {
    return await rootBundle.loadString(\'assets/json/states.json\');
}

json data look

相关标签:
回答
  • 消灭零回复
提交回复
热议问题