startCall static method

Future<bool> startCall(
  1. String handle, {
  2. String? uuid,
})

start call initiated from user

Implementation

static Future<bool> startCall(String handle, {String? uuid}) async {
  Map<String, String> payload = {"handle": handle};
  if (uuid != null) {
    payload['uuid'] = uuid;
  }
  final res =
      await _methodChannel.invokeMethod(_methodChannelStartCall, payload);
  return res as bool;
}