fromRobot static method

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

Get the Base named name from the provided robot.

final myBase = Base.fromRobot(myRobotClient, "my_base");

For more information, see Base component.

Implementation

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