includeJsonAnnotations property

bool includeJsonAnnotations
final

Include @JsonValue, @JsonEncode and @JsonDecode annotations on generated data classes.

When disabled a data class will be generated without any of these annotations.

When enabled then annotations will be added where applicable.

{@category generator}

Implementation

final bool includeJsonAnnotations;