google / google/json_serializable.dart
How can I make it ignore "setter"?
Open
- Dominant language
- Dart
- Stars
- 1.6k
- Forks
- 461
- Avg merge
- 45m
- Merged PRs (30d)
- 1
Description
Hi,
Is there any way to make it ignore setters?
Currently, the only workaround that I found is to set:
`@JsonSerializable(ignoreUnannotated: true)`
But it forces to add `@JsonKey()` above any field which is pretty annoying.
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.