includeFromJson property Null safety

bool? includeFromJson

Used to force a field to be included (or excluded) when decoding a object from JSON.

null (the default) means the field will be handled with the default semantics that take into account if it's private or if it can be cleanly round-tripped to-from JSON.

true means the field should always be decoded, even if it's private.

false means the field should never be decoded.


final bool? includeFromJson;