Once the domain layer and all the general behaviors of our project are finished through abstraction, we can start using all those interfaces that we made to create their implementations. Well, finally we change layers. This time it's up to the data l...

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.