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