core.Map<core.String, core.dynamic> toJson() { final bucket = this.bucket; final count = this.count; return {'bucket': ?bucket, 'count': ?count}; }