Β© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Marcos Sevilla
Senior Engineer at Very Good Ventures
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...
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.
Dung Nguyen Minh
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 :(
Model
super
json_serializable
@JsonKey(name:)
Hope you reply soon!
Will try to publish it before the weekend π
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.