fromRobot static method

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

Get the Generic named name from the provided robot.

For more information, see Generic component.

Implementation

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