RTCErrorInit constructor
RTCErrorInit({
- required RTCErrorDetailType errorDetail,
- int? sdpLineNumber,
- int? sctpCauseCode,
- int? receivedAlert,
- 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);