AudioChannelMapping.fromJson constructor
Implementation
factory AudioChannelMapping.fromJson(Map<String, dynamic> json) {
return AudioChannelMapping(
inputChannelLevels: (json['inputChannelLevels'] as List)
.whereNotNull()
.map((e) => InputChannelLevel.fromJson(e as Map<String, dynamic>))
.toList(),
outputChannel: json['outputChannel'] as int,
);
}