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