place method
Places new call
extraOptions
will be added to the callPayload sent to your server
Implementation
Future<bool?> place(
{required String from,
required String to,
Map<String, dynamic>? extraOptions}) {
_activeCall =
ActiveCall(from: from, to: to, callDirection: CallDirection.outgoing);
var options = extraOptions ?? Map<String, dynamic>();
options['From'] = from;
options['To'] = to;
return _channel.invokeMethod('makeCall', options);
}