allowNullable property

bool? allowNullable
final

If true all nullable fields would get the value from copy without any null validation.

e.g: When using allowNullable = false fieldX = newFieldX != null ? newFieldX : fieldX

When using allowNullable = true fieldX = newFieldX

default: false

Implementation

final bool? allowNullable;