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