includeIfNull property Null safety
final
Whether the serializer should include the field with null
value in the
serialized output.
If true
, the serializer should include the field in the serialized
output, even if the value is null
.
The default value, null
, indicates that the behavior should be
acquired from the ResponseModel.includeIfNullField annotation on the
enclosing class.
Implementation
final bool? includeIfNull;