toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (inspectJob != null) 'inspectJob': inspectJob!,
if (jobId != null) 'jobId': jobId!,
if (locationId != null) 'locationId': locationId!,
if (riskJob != null) 'riskJob': riskJob!,
};