makeDirectCall static method
Custom method: Make a direct phone call
Implementation
static Future<void> makeDirectCall(String phoneNumber) async {
try {
await _channel.invokeMethod('makeCall', {'phoneNumber': phoneNumber});
} on PlatformException catch (e) {
print("Error: ${e.message}");
}
}