callingInvite method

Future<Map> callingInvite(
  1. dynamic invitees,
  2. String callID,
  3. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> callingInvite(
    dynamic invitees, String callID, dynamic config) async {
  Object _config = mapToJSObj(config);

  final result = await promiseToFuture(
          ZIM.getInstance()!.callingInvite(invitees, callID, _config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}