fromRobot static method
- RobotClient robot,
- String name
Get the Generic named name
from the provided robot.
final myGeneric = Generic.fromRobot(myRobotClient, "my_generic");
For more information, see Generic component.
Implementation
static Generic fromRobot(RobotClient robot, String name) {
return robot.getResource(Generic.getResourceName(name));
}