一、需求来源 「开发 Flutter 数据模型时遇到一个痛点:后端字段和 Dart 字段对不上,手写 fromJson 又臭又长,还总在 null 和新增枚举值上翻车。」 痛点有三: 字段名不一致得手