getResourceName static method
- String name
Get the common_pb.ResourceName for this Motor with the given name.
var name = Motor.getResourceName('myMotor');
For more information, see Motor component.
Implementation
static common_pb.ResourceName getResourceName(String name) {
return Motor.subtype.getResourceName(name);
}