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