handle nulls in FlowPropertyDefinitionBuilder.setDataClass()