addDocWithExtHtml method
Add a new whiteboard file with external html
Parameter extHtml
Whiteboard file contents with external html
Returns
- Current whiteborad file ID, if fail return nullptr
Note PanoWhiteboard has created doc with whiteboard file ID "default" when created
使用外部Html添加新的白板文件
Parameter extHtml
外部Html的白板文件内容
Returns
- 当前白板文件ID,如果失败返回nullptr
Note PanoWhiteboard创建时会生成白板文件ID为"default"的白板文件
Implementation
@override
Future<String?> addDocWithExtHtml(WBDocExtHtml extHtml) {
return _invokeMethod('addDocWithExtHtml', {'extHtml': extHtml.toJson()});
}