place method

  1. @override
Future<bool?> place({
  1. required String from,
  2. required String to,
  3. Map<String, dynamic>? extraOptions,
})
override

Places new call

extraOptions will be added to the callPayload sent to your server

Implementation

@override
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 ?? <String, dynamic>{};
  options['From'] = from;
  options['To'] = to;
  return _channel.invokeMethod('makeCall', options);
}