toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (displayName != null) 'displayName': displayName!,
if (name != null) 'name': name!,
if (occurrenceType != null) 'occurrenceType': occurrenceType!,
if (valueType != null) 'valueType': valueType!,
};