Senior Engineer at Very Good Ventures
I'm a Senior Engineer at Very Good Ventures, a Flutter development consultancy. I build Flutter apps for large-scale companies and do open source work for popular Dart and Flutter packages such as Very Good CLI and Dart Frog.
Markdown supported · ⌘↵ to post
Can you show a example create Model with new super parameters in Dart 2.17 using json_serializable and @JsonKey(name:) annotation? I confused because the gen file can get right name json field :(
Hope you reply soon!
Alexander Semeniuk
How do you use json_serializeable annotations (for example, @JsonKey) in model classes? You don't have access to field declaration in models.