toJson method
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,
};
}