endCurrentCall method
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');
}