core.Map<core.String, core.dynamic> toJson() => { if (job != null) 'job': job!, if (kind != null) 'kind': kind!, };