toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allowedValues != null) 'allowedValues': allowedValues!,
if (category != null) 'category': category!,
if (consentDefaultValues != null)
'consentDefaultValues': consentDefaultValues!,
if (dataMappingDefaultValue != null)
'dataMappingDefaultValue': dataMappingDefaultValue!,
if (description != null) 'description': description!,
if (name != null) 'name': name!,
};