getCurrentWhiteboardFile method
获取当前文件ID
Implementation
Future<String?> getCurrentWhiteboardFile() async {
try {
final fileId = await TCICWhiteBoardController.getCurrentFile();
TCICLog.info(
"Got current whiteboard file: $fileId",
actionModule: ActionModule.tcicController.name,
actionName: ActionName.getCurrentWhiteboardFile.name,
);
return fileId;
} catch (e) {
TCICLog.error(
"Error getting current whiteboard file: $e",
actionModule: ActionModule.tcicController.name,
actionName: ActionName.getCurrentWhiteboardFile.name,
);
return null;
}
}