holdCall static method

Future holdCall(
  1. String id, {
  2. bool isOnHold = true,
})

Hold an Ongoing call. On iOS, using Callkit(update the ongoing call ui). On Android, Nothing(only callback event listener).

Implementation

static Future holdCall(String id, {bool isOnHold = true}) async {
  await _channel.invokeMethod("holdCall", {'id': id, 'isOnHold': isOnHold});
}