getResourceName static method
- String name
Get the ResourceName for this Servo with the given name
.
// Example:
var name = Servo.getResourceName('myServo');
For more information, see Servo component.
Implementation
static ResourceName getResourceName(String name) {
return Servo.subtype.getResourceName(name);
}