SignalMsg constructor
SignalMsg({})
Implementation
factory SignalMsg({
SigMsgType? msgType,
$core.String? remoteDeviceId,
$core.int? rtcOfferId,
$core.String? sdp,
$core.String? answer,
Candidate? candidate,
}) {
final result = create();
if (msgType != null) result.msgType = msgType;
if (remoteDeviceId != null) result.remoteDeviceId = remoteDeviceId;
if (rtcOfferId != null) result.rtcOfferId = rtcOfferId;
if (sdp != null) result.sdp = sdp;
if (answer != null) result.answer = answer;
if (candidate != null) result.candidate = candidate;
return result;
}