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