updateWhiteboard function

Future<CubeWhiteboard> updateWhiteboard(
  1. String whiteboardId,
  2. String newName
)

Updates the exist whiteboard.

whiteboardId - the id of the whiteboard which you want to update. newName - the new name which you want to set for your whiteboard.

Implementation

Future<CubeWhiteboard> updateWhiteboard(String whiteboardId, String newName) {
  return UpdateWhiteboardQuery(whiteboardId, newName).perform();
}