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