toVirtualNodeStatusCode method
Implementation
VirtualNodeStatusCode toVirtualNodeStatusCode() {
switch (this) {
case 'ACTIVE':
return VirtualNodeStatusCode.active;
case 'INACTIVE':
return VirtualNodeStatusCode.inactive;
case 'DELETED':
return VirtualNodeStatusCode.deleted;
}
throw Exception('$this is not known in enum VirtualNodeStatusCode');
}