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