fromRobot static method

Board fromRobot(
  1. RobotClient robot,
  2. String name
)

Get the Board named name from the provided robot.

final myBoard = Board.fromRobot(myRobotClient, "my_board");

For more information, see Board component.

Implementation

static Board fromRobot(RobotClient robot, String name) {
  return robot.getResource(Board.getResourceName(name));
}