Map<String, dynamic> toJson() { final channel = this.channel; final concurrency = this.concurrency; return { 'Channel': channel.toValue(), 'Concurrency': concurrency, }; }