Flutter/Dart : synchronous way to read file in asset folder

后端 未结 0 881
广开言路
广开言路 2020-12-03 23:51

I am trying to read JSON file in assets folder and deserializing it to object. String fromJson = await rootBundle.loadString(\'assets/File.json\'); deserializat

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