RTCErrorInit constructor

RTCErrorInit({
  1. required RTCErrorDetailType errorDetail,
  2. int? sdpLineNumber,
  3. int? sctpCauseCode,
  4. int? receivedAlert,
  5. int? sentAlert,
})

Implementation

factory RTCErrorInit(
        {required RTCErrorDetailType errorDetail,
        int? sdpLineNumber,
        int? sctpCauseCode,
        int? receivedAlert,
        int? sentAlert}) =>
    RTCErrorInit._(
        errorDetail: errorDetail.value,
        sdpLineNumber: sdpLineNumber ?? undefined,
        sctpCauseCode: sctpCauseCode ?? undefined,
        receivedAlert: receivedAlert ?? undefined,
        sentAlert: sentAlert ?? undefined);