encodeOutgoingCall static method
Encodes and validates an outgoing call before crossing a channel.
Implementation
static Map<String, Object?> encodeOutgoingCall(OutgoingCall call) => {
'version': version,
'callId': _validatedId(call.callId.value),
'callee': _encodeCaller(call.callee),
'media': call.media.name,
};