toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    if (channels != null) 'channels': channels,
    'clockRate': clockRate,
    'mimeType': mimeType,
    if (sdpFmtpLine != null) 'sdpFmtpLine': sdpFmtpLine,
  };
}