在Java中像Gson这样的飞镖中等效的库是什么

问题描述:

是否有任何可用于保存对象和还原对象的库.
在android java中,我们使用Gson来做到这一点,但在Flutter中没有Gson

Is there any library available to save object and restore it.
In android java we using Gson to do this but in flutter there is no Gson

我正在使用此网站,它节省了我的时间
无需思考这里的JSON代码,那么它将生成完善的dart类代码
https://app.quicktype.io/

I am using this website and it saves my time
no need to think just past the JSON code here then it will generate the prefect dart class code
https://app.quicktype.io/