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