includeIfNullField property Null safety

bool includeIfNullField
final

Whether the serializer should include fields with null values in the serialized Model output.

If true (the default), all fields in the Model are written to JSON, even if they are null.

If a field is annotated with @ResponseKey() with a non-null value for includeIfNull, that value takes precedent.

Implementation

final bool includeIfNullField;