We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
使用SpUtil.getObjList报错,Message.fromJson是使用json_annotation自动生成的
SpUtil.getObjList
Message.fromJson
json_annotation
SpUtil.getObjList(getSPKey(), (v) { return Message.fromJson(v as Map<String, dynamic>); })
运行时报错:
The following TypeErrorImpl was thrown while handling a gesture: Expected a value of type 'Never', but got one of type 'Message'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用
SpUtil.getObjList
报错,Message.fromJson
是使用json_annotation
自动生成的运行时报错:
The text was updated successfully, but these errors were encountered: