toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (assignee != null) 'assignee': assignee!,
if (jobType != null) 'jobType': jobType!,
if (name != null) 'name': name!,
if (state != null) 'state': state!,
};