setAlive method
Set keep alive state, that will force the focused and online state
Implementation
Future setAlive([bool value = true]) async {
var aliveValue = value ? '' : false;
return await wpClient.evaluateJs(
'''window.WPP.conn.setKeepAlive($aliveValue);''',
methodName: "setAlive",
);
}