toJson method

Map<String, dynamic> toJson()

Implementation

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