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