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