toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'codecs': codecs?.map((e) => e.toMap()).toList(),
'headerExtensions': headerExtensions?.map((e) => e.toMap()).toList(),
if (fecMechanisms != null) 'fecMechanisms': fecMechanisms,
};
}