FlutterJsonBeanFactory
FlutterJsonBeanFactory copied to clipboard
[How to use] enum
Platforms
dart
Description
当模型中的属性定义为枚举时,byName方法的限制,json 中的数据是否只能是 string,而不能是 int。有没有其他的示例或思路。谢谢。
My code
Try do it
No response
emm int就写int吧 目前没做这个的想法