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