toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final channelMapping = this.channelMapping;
  final channelsIn = this.channelsIn;
  final channelsOut = this.channelsOut;
  return {
    if (channelMapping != null) 'channelMapping': channelMapping,
    if (channelsIn != null) 'channelsIn': channelsIn,
    if (channelsOut != null) 'channelsOut': channelsOut,
  };
}