toSubResourceType method
Implementation
SubResourceType toSubResourceType() {
switch (this) {
case 'IP':
return SubResourceType.ip;
case 'URL':
return SubResourceType.url;
}
throw Exception('$this is not known in enum SubResourceType');
}