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