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