getActiveCall static method
Implementation
static Future<Call?> getActiveCall() async {
try {
final result = await channel.invokeMethod('getActiveCall', {});
if(result != null){
return Call.fromMap(result);
}else{
return null;
}
}on PlatformException catch (exception) {
debugPrint("Error PlatformException: ${exception.toString()}");
return null;
} catch (e) {
debugPrint("Error: ${e.toString()}");
return null;
}
}