toJson method

Map<String, dynamic> toJson()

Implementation

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