ignoreUnannotated property

bool? ignoreUnannotated
final

When true, only fields annotated with JsonKey will have code generated.

It will have the same effect as if those fields had been annotated with JsonKey.includeToJson and JsonKey.includeFromJson set to false

Implementation

final bool? ignoreUnannotated;