RTCSessionDescriptionInit constructor

RTCSessionDescriptionInit({
  1. required RTCSdpType type,
  2. String? sdp,
})

Implementation

factory RTCSessionDescriptionInit({required RTCSdpType type, String? sdp}) =>
    RTCSessionDescriptionInit._(type: type.value, sdp: sdp ?? '');