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