Future<void> pauseTask(String taskId) async { await _callFunc( jsonEncode({ "key": "pauseTask", "params": [taskId], }), ); }