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