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 {
return null;
} catch (e) {
return null;
}
}