toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (constraintType != null) 'constraintType': constraintType!,
if (description != null) 'description': description!,
if (documentationUrl != null) 'documentationUrl': documentationUrl!,
if (incompatibilityType != null)
'incompatibilityType': incompatibilityType!,
if (lastObservation != null) 'lastObservation': lastObservation!,
if (subjects != null) 'subjects': subjects!,
};