includeFromJson property
Determines whether a field should be included (or excluded) when decoding an object from JSON.
null (the default) means the field will be handled with default
semantics that consider whether it's private or if it can be cleanly
round-tripped to and from JSON.
true forces the field to always be decoded, even if it's private.
false prevents the field from being decoded.
Implementation
final bool? includeFromJson;