getCurrentBoard method
获取当前白板ID
Implementation
Future<String?> getCurrentBoard() async {
try {
final boardId = await TCICWhiteBoardController.getCurrentBoard();
TCICLog.info(
"Got current board ID: $boardId",
actionModule: ActionModule.tcicController.name,
actionName: ActionName.getCurrentBoard.name,
);
return boardId;
} catch (e) {
TCICLog.error(
"Error getting current board: $e",
actionModule: ActionModule.tcicController.name,
actionName: ActionName.getCurrentBoard.name,
);
return null;
}
}