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