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