toJson method

Map<String, dynamic> toJson()

Implementation

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