By adding JsonKey annotations, we ensure that deserialization is less prone to break due to refactorings. Additionally, we're able to give properties names that are idiomatic to Dart.
It probably also makes it easier to migrate to macros when the time comes.
By adding JsonKey annotations, we ensure that deserialization is less prone to break due to refactorings. Additionally, we're able to give properties names that are idiomatic to Dart. It probably also makes it easier to migrate to macros when the time comes.