endCurrentCall method

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

Implementation

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