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