flutter json序列表 通用reponse返回封装泛型T
参考 stack https://stackoverflow.com/questions/55306746/how-to-use-generics-and-list-of-generics-with-json-serialization-in-dart参考官方文档实现 https://github.com/google/json_serializable.dart/blob/master/exam
·
- 参考 stack https://stackoverflow.com/questions/55306746/how-to-use-generics-and-list-of-generics-with-json-serialization-in-dart
- 参考官方文档实现 https://github.com/google/json_serializable.dart/blob/master/example/lib/json_converter_example.g.dart
更多推荐
已为社区贡献3条内容
所有评论(0)