toggleHoldCall method

  1. @override
Future<int?> toggleHoldCall()
override

Implementation

@override
Future<int?> toggleHoldCall() {
  if (Platform.isIOS) {
    // INFO: ios platform doesn't support this feature
    return Future.value(null);
  }
  return methodChannel.invokeMethod<int>('toggleHoldCall');
}