holdCall static method

Future<bool> holdCall(
  1. String uuid, {
  2. bool onHold = true,
})

hold call initiated by user. Also could call Call.hold()

Implementation

static Future<bool> holdCall(String uuid, {bool onHold = true}) async {
  final res = await _methodChannel
      .invokeMethod(_methodChannelHoldCall, {"uuid": uuid, "hold": onHold});
  return res as bool;
}