fromRobot static method

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

Get the Base named name from the provided robot.

For more information, see Base component.

Implementation

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