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