Repository navigation
json2model 1.1.0
Changes
- Support Dart 3: SDK constraint changed to
^3.0.0; replace discontinuedpedantic/effective_dartwithlints - Fix: JSON keys that are not valid Dart identifiers (e.g.
user-name,class,1st,_id,it's,$ref) now generate compilable fields; the original key is kept forfromJson/toJson - Fix:
doublefields accept integer JSON values (e.g.10) instead of throwing a type error
Install
dev_dependencies:
json2model: ^1.1.0