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