getResourceName static method

ResourceName getResourceName(
  1. String name
)

Get the ResourceName for this Motor with the given name.

var name = Motor.getResourceName('myMotor');

For more information, see Motor component.

Implementation

static ResourceName getResourceName(String name) {
  return Motor.subtype.getResourceName(name);
}