toMap method
Implementation
Map<String, dynamic> toMap() => {
'active': active,
if (rid != null) 'rid': rid,
if (maxBitrate != null) 'maxBitrate': maxBitrate,
if (maxFramerate != null) 'maxFramerate': maxFramerate,
if (minBitrate != null) 'minBitrate': minBitrate,
if (numTemporalLayers != null) 'numTemporalLayers': numTemporalLayers,
if (scaleResolutionDownBy != null)
'scaleResolutionDownBy': scaleResolutionDownBy,
if (scalabilityMode != null) 'scalabilityMode': scalabilityMode,
if (ssrc != null) 'ssrc': ssrc,
};